I'm using CodeWarrior with a TWR-K60D100M. My project is using the Freescale compiler and the "Generate Debug Information" check box is checked.
However, when I put a breakpoint in some functions, many of the local variables are "not in scope," even though they clearly are.
In order to really debug, I need to look at some of these values. Is there any way to generate better debug information?
Hello,
if you would not have debug information, then you would even not see source files/line information.
It seems that the compiler might have removed local variables (keeping them in registers?). If you have optimizations enabled, you can disable it.