View variables in expression window

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

View variables in expression window

1,200 次查看
Aili
Contributor II

Hi,

 

 

I'm using Codewarrior 8.2 for DSP56xxx. Can anyone tell me how to view variables with absolute address in Expression window? For example, if I want to view the int value of a variable located in X:$8000, what kind of expression should I write in Expression window? And also, how to update the Expression window (automatically or manually) while the code is running? Thank you.

 

Sincerely yours,

 

Liping

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

262 次查看
FTSolutions
Contributor III

If you are running in debug mode, you can click the right mouse button while the cursor is in the debug/runtime window and a pop-up menu will appear - select "View Memory", and another window will popup with memory displayed.  In the memory location bar at the top of this window, type in

"0x3000" if your variable is at "0x3000".   You can also access this function from one of the top menu lists in CW.   The window values may not be updated until you hit a "stop" in the debug screen.

 

I hope that this helps to answer the question.

0 项奖励
回复