2.3.43. DISABLEBREAK

Disables one or more specified breakpoints.

Syntax

DISABLEBREAK ,a {breakpoint_address | breakpoint_address_range}

DISABLEBREAK [,h] [break_num,...]

where:

,a breakpoint_address

Specifies the address of the breakpoint to be disabled.

,a breakpoint_address_range

Specifies that all breakpoints within the address range are to be disabled. See Specifying address ranges for details on how to specify an address range.

break_num

Specifies one or more breakpoints to disable, separated by commas.

You identify breakpoints by their position in the list displayed by the DTBREAK command.

h

Do not use this qualifier. It is for debugger internal use only.

Description

The DISABLEBREAK command disables one or more breakpoints. A disabled breakpoint is removed from the target as if the breakpoint were deleted, but the debugger keeps a record of it. You can then enable it again by using the breakpoint address or the breakpoint number when required, rather than having to recreate it from scratch.

If you issue the command with no parameters then all breakpoints for this connection are disabled. Disabling a breakpoint that is already disabled has no effect.

Examples

The following examples show how to use DISABLEBREAK:

disablebreak,a 0x8008

Disables the breakpoint at the address 0x8008.

disablebreak,a 0x8008..0x8024

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

disablebreak 4,6,8

Disables the fourth, sixth, and eighth breakpoints in the current list of breakpoints.

disablebreak

Disables all the current breakpoints.

See also

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