11.9.1. Procedure

To copy a breakpoint:

  1. Select Break/Tracepoints from the View menu to display the Break/Tracepoints pane, if it is not already visible. An example is shown in Figure 11.13.

    Figure 11.13. Breakpoint in the Break/Tracepoints pane

    Breakpoint in the Break/Tracepoints pane
  2. Right-click on the breakpoint you want to copy to display the context menu.

  3. Select Edit... from the context menu to display the Edit Breakpoint dialog box. An example is shown in Figure 11.14.

    Figure 11.14. Edit Breakpoint dialog box

    Edit Breakpoint dialog box
  4. Change either the Breakpoint Type or the Location of the breakpoint.

    For this example, change the Location to Proc_5, to set a new breakpoint at the first location of the Proc_5 function.

  5. Make any other changes to the breakpoint that you require. You can:

    • Change the Breakpoint Type.

    • Specify a data value to match against if you selected one of the hardware access types.

    • Force the size of a software breakpoint.

      When you select Force Breakpoint Size (bits), the entry field is enabled for you to specify the size in bits. Normally, the breakpoint size is selected automatically using the debug information that is currently loaded on the target. However, if you are trying to set a Thumb breakpoint on a target where there is no debug information available, you must use this option to force the breakpoint size.

      Note

      This option is disabled for hardware breakpoints.

    • Click More... to display conditions and actions that you can assign.

  6. Click OK to set the breakpoint. A prompt dialog box is displayed to ask if you want to replace the current breakpoint.

  7. Click No to keep the existing breakpoint, and set a new breakpoint.

See also

Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0153I
Non-Confidential