How to single-step in disassembly view?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to single-step in disassembly view?

Jump to solution
2,459 Views
mjbcswitzerland
Specialist V

Hi All

When I try to single-step in the disassembly view it steps over a complete C line rather than a single instruction.

With KDS IDE there was a button that could be pressed to set the mode to single step in the disassembly window but I haven't found anything similar in MCUXpresso.

With IAR it does it automatically (steps instructions when the disassembly window is in focus or C lines when the source code is in focus) which is the most ergonomic solution.

Presently I have to set a break point at the next instruction line and run to it to single-step, which works but is awkward, and assume that there is a better solution hidden somewhere (?)

Regards

Mark

Labels (1)
0 Kudos
1 Solution
2,260 Views
ErichStyger
Senior Contributor V

Hi Mark,

it is the same as in KDS (standard Eclipse feature, Assembly Instruction Stepping | MCU on Eclipse ):

pastedImage_1.png

This button is available in the debug perspective by default. It could be that you are still in the Develop perspective where it is not on by default. You might switch to the debug perspective automatically too, see Using a Custom Debug Perspective in Eclipse | MCU on Eclipse 

I hope this helps,

Erich

View solution in original post

0 Kudos
2 Replies
2,261 Views
ErichStyger
Senior Contributor V

Hi Mark,

it is the same as in KDS (standard Eclipse feature, Assembly Instruction Stepping | MCU on Eclipse ):

pastedImage_1.png

This button is available in the debug perspective by default. It could be that you are still in the Develop perspective where it is not on by default. You might switch to the debug perspective automatically too, see Using a Custom Debug Perspective in Eclipse | MCU on Eclipse 

I hope this helps,

Erich

0 Kudos
2,260 Views
mjbcswitzerland
Specialist V

Hi Eric

Thanks - I found it:

1. In the standard perspective it was not showing:

pastedImage_1.png

2. Manually switching to the debug perspective it is however there:

pastedImage_3.png

3. Then I spotted it also in the debug view which I only looked at for call stack before.

pastedImage_4.png

so all looks good again.

Regards

Mark

0 Kudos