2.3.60. ENABLEBREAK

Enables one or more specified breakpoints.

Syntax

ENABLEBREAK ,a {breakpoint_address | breakpoint_address_range}

ENABLEBREAK [,h] [break_num,...]

where:

,a breakpoint_address

Specifies the address of the disabled breakpoint to be enabled.

,a breakpoint_address_range

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

break_num

Specifies one or more breakpoints to enable, 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 ENABLEBREAK command enables one or more breakpoints that have been disabled. A disabled breakpoint is removed from the target as if the breakpoint were deleted, but the debugger keeps a record of it. You can enable it again, using this command, by referring to the breakpoint number, avoiding then having to recreate it from scratch.

If you issue the command with no parameters then all breakpoints are enabled. Enabling a breakpoint that is already enabled has no effect.

The command runs synchronously.

Example

The following examples show how to use ENABLEBREAK:

enablebreak,a 0x8008

Enables the breakpoint at the address 0x8008.

enablebreak,a 0x8008..0x8024

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

enablebreak 4,6,8

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

enablebreak

Enables all the current breakpoints.

See also

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