Re: IDE Debugger Problems with uint8_t for the dsPIC33CK256mp508
2018/09/14 14:56:37
(permalink)
It is a global variable so the compiler does not know what other code in other modules may be external to it until compile. So it cannot optimize it away unless the optimizer happens after linking. (It does not optimize after linking.)
Did you take the time to look at the screen shots of the IDE?
It shows the problem is in the IDE.
It is not a problem with the code and is not a problem with optimization. I have been doing this for a while.