8.4. Stepping by lines of source code

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

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

Note

Be aware that when stepping at the source level, RealView Debugger uses temporary breakpoints to stop execution. However, when stepping in ROM or Flash, RealView Debugger attempts to set hardware breakpoints. 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