CodeWarrior Debugger with Kinetis

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CodeWarrior Debugger with Kinetis

1,009件の閲覧回数
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?

ラベル(1)
0 件の賞賛
返信
1 返信

802件の閲覧回数
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 件の賞賛
返信