|
|||||||||||
Technical Support Support Resources
Product Information |
µVISION DEBUGGER: Local Variables Not DisplayedInformation in this article applies to:
QUESTIONI have a function foo which is written as follows: void foo(void) { unsigned char bar; bar = 4; } When I step through this function in the debugger, the variable bar is not displayed in the locals window. Is this a bug? ANSWERNo. The optimizer removed the variable bar since you do not do anything with it. It is initialized but left unused, so all code related to the variable is removed. You can either
SEE ALSO
Last Reviewed: Tuesday, December 8, 2020 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.