8.5. Stepping by instructions

There are times when you want to observe the sequential execution of your program at the assembly instruction level. Stepping provides the fine control that enables you to do this. The following procedures describe how to step through your code at the instruction level:

Also, see Using a macro when stepping for details on how to use a macro when stepping.

Note

Be aware that when stepping instructions RealView Debugger uses a temporary breakpoint to stop execution. However, when stepping more than a single instruction in ROM or Flash, RealView Debugger attempts to set a temporary hardware breakpoint. If there are not enough breakpoint resources available, then RealView Debugger implements single instruction stepping, and displays the following warning:

Warning: Unable to set Software Break or Hardware Break at address, falling back to instruction stepping.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0153H
Non-Confidential