CodeWarrior Debugger with Kinetis

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarrior Debugger with Kinetis

686 Views
mikesutton
Contributor I

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?

Labels (1)
0 Kudos
Reply
1 Reply

479 Views
BlackNight
NXP Employee
NXP Employee

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.

0 Kudos
Reply