CodeWarrior Debugger with Kinetis

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CodeWarrior Debugger with Kinetis

1,008 次查看
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 回复

801 次查看
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 项奖励
回复