**** Advance Notice ****

This site will be closed on 31 December 2015,

Important Information for users of NXP LPCXpresso

This site is for users of Code Red branded products.

NXP LPCXpresso users should visit the LPCXpresso FAQ's for up-to-date information relevant to that product.

Displaying assembly instructions when debugging

It is sometimes useful to be able to view the actual assembly instructions of your application when you are debugging. This can often assist in understanding the behavior you see as the application executes.

One way to do this is to change into "Instruction Stepping Mode". To do this click on the "i->" icon in the Debug view.

istep.png

This changes debug behavior such that you will now step by processor instructions, rather than source lines. It will also cause the Disassembly view to be added to your current perspective, which will display instructions around the current program counter.

If you click the "i->" icon again to return to source stepping mode, the Disassembly view will continue to be displayed.

Alternatively the menu Window->Show view->Other->Debug->Disassembly will cause the Disassembly view to be displayed (without changing the current stepping mode).

DebugViewAsm (last edited 2010-09-30 07:54:00 by CrSupportAb)