I'm trying to debug my C++ code using Studio 6.1.2440 and my JTAGICE2.
I can't see most of the data. I am using the default -O1 optimize option. Is that what I should use? I use new to construct my classes. Is that my problem?
All local (stack) variables are optimized away. All class data members are shown as "Unknown identifier" in quick watch.
In the past I've copied data I want to see to GPIO registers. The debugger shows the register contents. Is that my only option?
I've had this problem forever but I thought it might be better with Studio 6, or maybe I'm doing things wrong.