11.16.1. Setting a breakpoint at the start of a function

To set a breakpoint at the start of a function:

  1. Select View → Symbols from the Code window main menu to open the Symbols view.

  2. Click the Functions tab to display the list of functions.

  3. Locate the function where you want to set the breakpoint, for example, Func_2.

  4. Right-click on the function name to display the context menu.

  5. Select Insert Breakpoint from the context menu. The breakpoint is set at the start of the selected function.

Viewing the function where you set a breakpoint

To view the function where you set the breakpoint:

  1. Right-click on the function name again (Func_2 in the previous example) to display the context menu.

  2. Select the required option from the context menu:

    View Disassembly

    RealView Debugger displays the Disassembly tab to show the disassembly for the function.

    View Source

    RealView Debugger opens the source dhry_2 at the function Func_2, and shows that the breakpoint is set at line 143.

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111