This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, all,
I am facing a strange problem. I declared 4 variables a,b,c,d in a program, a and b are global and c and d are local, when I run the program, I can only see the value of d that has been updated in the Watch window. Please refer the self-explaining figure below. Why is that so? I have disabled compiler optimization option, using full symbolic debugging, my build tools is V3.3.2. The chip is CC430F5137. Thanks a lot.
Are you sure that optimalization is set to OFF instead of null?
Regards,
Maciej
The optimization is set to 1 for the result shown in the figure.
I just notice that I can set optimization level to "blank", this time what shown in the Watch window is as follows:
a 0xFF
b 0x3F
c 0x03
d 0x04
What am I missing here? Thanks.