Hello,
As mentioned at adding--mapfile_contents=sym_defs to my projects linker options allows static variables to show up in the map file. However, it doesn't allow static variables to be viewed in the expressions window.
Is a there any way to view static variables in the expression window without modifying the code (which also includes creating code as shown below) ?
#ifdef DEBUG #define STATIC #else #define STATIC static #endif STATIC unsigned int a;
Static variables have an address, so why aren't they allowed to be shown in the expression window?
Stephen