disable

Disable one or more breakpoints.

Syntax

GDB Mode:

disable [breakpoints][ {ID ... | ID-range ...} ]

IDB Mode:

disable { all | ID, ...}

Parameters

GDB Mode:

ID

The ID number of the breakpoint. The ID number is an unsigned integer greater than 0 and assigned to a breakpoint by the debugger. You can specify one or more ID numbers, separated by space.

ID-range

You can also specify one or more ranges of ID numbers, denoted as x-y, where x is the starting ID and y the end ID of a single range.

IDB Mode:

commandmode(idb):

ID

The ID number of the breakpoint. The ID number is an unsigned integer greater than 0 and assigned to a breakpoint by the debugger. You can specify one or more ID numbers, separated by comma.

Description

This command disables one or more breakpoints until you enable them.

When you set a breakpoint, it is enabled by default. When the debugger starts or resumes process execution, it first adapts the process so that it can detect when the specified events occur. You can disable a breakpoint so it does not interfere with determining when the process should next stop.

IDB Mode:

If you specify all, this command disables all breakpoints. Use a comma to separate breakpoint IDs.

GDB Mode:

If you do not specify any parameter, this command disables all breakpoints. Use a space to separate breakpoint IDs or ranges of IDs.

Example

The following command disables the breakpoints with IDs 2 and 3.

IDB Mode:

(idb) disable 2,3

GDB Mode:

(idb) disable 2 3

The following command disables the breakpoints, 2,3, and 4

GDB Mode:

(idb) disable 2-4

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.