We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
When I debug my application with DS-5, the debug indicator doesn't point to correct instructions sometimes or jumps back. Some variables show unavailable, or show value later after one or two instructions.
How do I turn off code optimization for debugging?
If you are using gcc, then -O0 will turn off optimizations. Here is a full list of gcc optimization options:
gcc.gnu.org/.../Optimize-Options.html
thanks, I see great improvement, but data struct variables are not updated often.