2.3.27. CLEARBREAK

Deletes one or more breakpoints.

Syntax

CLEARBREAK,a {breakpoint_address | breakpoint_address_range}

CLEARBREAK [{breakpoint_number | breakpoint_number_range}]

where:

,a breakpoint_address

Specifies the address of the breakpoint to be cleared.

,a breakpoint_address_range

Specifies 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_number

Specifies the number of the breakpoint to be cleared.

breakpoint_number_range

Specifies a range of breakpoint numbers as two integers separated by the range operator (..).

Description

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.

Note

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.

Examples

The following examples show how to use CLEARBREAK:

CL

Clears every breakpoint.

CL,a 0x8008

Clears the breakpoint at the address 0x8008.

CL,a 0x8008..0x8024

Clears all breakpoints in the address range 0x8008..0x8024.

CL,a 5..7

Clears the fifth, sixth, and seventh breakpoints in the current list.

CL 5..+3

Clears the fifth, sixth, and seventh breakpoints in the current list.

See also

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