View variables in expression window

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

View variables in expression window

1,217件の閲覧回数
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 返信

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