11.15.1. Setting a breakpoint at the start of a function

To set a breakpoint at the start of a function:

  1. Select Symbols from the View menu. The Symbols view is displayed.

  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-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential