| |||
| Home > RealView Debugger Commands > Alphabetical command reference > CLEARBREAK | |||
Deletes one or more breakpoints.
{CLEARBREAK,abreakpoint_address | breakpoint_address_range}
[{CLEARBREAKbreakpoint_number | breakpoint_number_range}]
where:
,a breakpoint_addressSpecifies the address of the breakpoint to be cleared.
,a breakpoint_address_rangeSpecifies that all breakpoints within the address range are to be cleared. See Specifying address ranges for details on how to specify an address range.
breakpoint_numberSpecifies the number of the breakpoint to be cleared.
breakpoint_number_rangeSpecifies a range of breakpoint numbers as two integers
separated by the range operator (..).
This command clears (deletes) the breakpoints you specify using either:
The address of the breakpoint, or an address range containing multiple breakpoints.
The position of the breakpoint in a list of breakpoints.
You can display a list of the currently defined breakpoints using the command DTBREAK, and also by displaying the Break/Tracepoints view in the Code window.
When specifying a range of breakpoints, you can either specify
the end of the range as an absolute position, or you can specify
the number of breakpoints to delete by typing a plus sign followed
by the number of breakpoints. For example: +3 indicates
three breakpoints.
To delete all breakpoints, use CLEARBREAK with no parameters.
CLEARBREAK runs synchronously.
You can disable a breakpoint, so that the breakpoint is unset but remembered by the debugger, using the DISABLEBREAK command. You can enable breakpoints that you have disabled, so setting them on the target again, using the ENABLEBREAK command.
The following examples show how to use CLEARBREAK:
CLClears every breakpoint.
CL,a 0x8008Clears the breakpoint at the address 0x8008.
CL,a 0x8008..0x8024Clears all breakpoints in the address range 0x8008..0x8024.
CL,a 5..7Clears the fifth, sixth, and seventh breakpoints in the current list.
CL 5..+3Clears the fifth, sixth, and seventh breakpoints in the current list.