instruction stepping mode problem

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

instruction stepping mode problem

2,616件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by micrio on Thu Mar 11 21:31:43 MST 2010
I have eratic results trying to use the[COLOR=black] "instruction stepping mode" button. Sometimes the button is enabled and it works properly. Other times it is not enabled. The "step into" button works OK. Is there a hot key for that button?[/COLOR]

Is there some mode that enables this button? I have not figured out what makes it work or what makes it not work. Re-statring LPCXpresso does not fix the problem.

While I am complaining, sometine the "core register" window is empty. No register name or register contents show. Other times it is correct. The "peripherals" window always seems to work. Generally re-starting LPCXpresso solves this problem. Am I doing something wrong?

Thanks,
Pete.
0 件の賞賛
返信
4 返答(返信)

2,584件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Mar 15 03:42:23 MST 2010
Hi Micrio,

Next time you see this, can you post a screenshot of the whole of your lpcxpresso ide window. This might give us some clues at to exactly what is happening here.

Regards

CodeRedSupport
0 件の賞賛
返信

2,584件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by micrio on Fri Mar 12 07:03:59 MST 2010
Thanks for the help. I did find the shortcut key settings under preferences.

I did look at the state in the debug view and it is in the execution stack as you show. The code in question is an interrupt handler if that makes any difference. Since I could not get the instruction single step to work I resumed the code. On the next entry to the interrupt handler when it stopped at my breakpoint the instruction stepping mode did work. The debug view stack looked the same as the previous time. This is the eratic behaviour that I am experiencing.

Pete.
0 件の賞賛
返信

2,583件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Mar 12 05:38:24 MST 2010
As Renan says, you can view all the shortcuts in the "Keys" entry of Window->Preferences. All of the "run" related operations are also listed within the "Run" entry of the menu bar.

With regards to the "instruction stepping mode button" (the "i->" icon in the Debug view), this is context sensitive and will be greyed out at times. In particular you need to ensure that you have an entry in the "execution stack" of your application selected in the Debug view

[IMG]http://knowledgebase.nxp.com/attachment.php?attachmentid=47&stc=1&d=1268397102[/IMG]

rather than, for example, the "arm-none-eabi-gdb" or the "<project_path_and_name>.axf" entries.

[IMG]http://knowledgebase.nxp.com/attachment.php?attachmentid=48&stc=1&d=1268397116[/IMG]

This is the same behaviour as most of the other icons in the debug view related to running your application.

Regards,

CodeRedSupport
0 件の賞賛
返信

2,583件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Fri Mar 12 04:12:14 MST 2010
If, by a hotkey you mean a shortcut, click on the menu Window->Preferences, treeview Keys, then search for Step Into.

Renan
0 件の賞賛
返信