【HELP】How to trace a variable in a function in debug Mode

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

【HELP】How to trace a variable in a function in debug Mode

2,968 次查看
commandoccz
Contributor I
In CW 4.6  ,I want to trace a variable in a function. In the Data window ,I input the variable name when I press the "Add Expression..." ,But in the Data window it says"temp  running (unknown identifier)"
How can I know the value of the variable. Is there any HandBook about CW debug skills.
thanks 
标签 (1)
0 项奖励
回复
3 回复数

1,302 次查看
commandoccz
Contributor I
3Q~~~~~HEHE
0 项奖励
回复

1,302 次查看
ubhims
Contributor I
The Targeting Manual for your CodeWarrior should have a section/chapter on Debugging.
 
-Mandeep
0 项奖励
回复

1,302 次查看
CrasyCat
Specialist III
Hello
 
There is a FAQ on that topic.
    Go to www.freescale.com and search for FAQ-27481
 
Please note that if the variable is a local variable the variable value might not be saved on the stack for optimization purpose.
 
In that case the variable value will not be available in the Data Window.
 
 
CrasyCat
0 项奖励
回复