8.4.4. Stepping over function calls

To step without entering called functions:

  1. Follow the steps described in Before you start.

    The rest of this procedure continues to use the dhrystone.axf image as an example.

  2. Display line 149.

  3. Click on the Proc_5 function name.

  4. Click the Run to cursor button on the Debug toolbar.

    The program begins execution.

  5. When prompted for the number of runs, enter 1000.

    The program continues execution and runs to the position of the cursor in the source code. A red box shows the location of the PC at line 149.

    The Cmd tab of the Output pane shows where execution has stopped, for example:


    Stopped at 0x00008480 due to Step-to
    Stopped at 0x00008480: DHRY_1\main Line 149

  6. Click the High-level Step Over button once.

    A red box shows the location of the PC at line 150. The Proc_5 function has been stepped over.

  7. Click High-level Step Over several times, until you are familiar with the operation of this control.

    The red box moves to the next line of code each time you click the button, without entering any called functions, even when the line of source comprises several instructions.

See Considerations when high-level stepping in the disassembly view if you want to perform high-level stepping in the disassembly view.

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