| |||
| Home > Setting Breakpoints > Copying a breakpoint > Procedure | |||
To copy a breakpoint:
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.
Right-click on the breakpoint you want to copy to display the context menu.
Select Edit... from the context menu to display the Edit Breakpoint dialog box. An example is shown in Figure 11.14.
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.
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.
This option is disabled for hardware breakpoints.
Click More... to display conditions and actions that you can assign.
Click OK to set the breakpoint. A prompt dialog box is displayed to ask if you want to replace the current breakpoint.
Click No to keep the existing breakpoint, and set a new breakpoint.
Help with specifying locations and values for hardware breakpoints
Alphabetical command reference in the RealView Debugger Command Line Reference Guide.