DISABLE BREAKPOINT

Deactivate a code breakpoint.

Syntax

DISABLE BREAKPOINT AT expression

DISABLE BREAKPOINT /ID=number

DISABLE BREAKPOINT /ID=@dbvar

DISABLE BREAKPOINT /ALL

Parameters

expression

The expression which yields the address of the code breakpoint to be deactivated. This can be:

A name of a global variable

An address

The expression is displayed in the Breakpoints window.

/id=number

The decimal id number of the code breakpoint to be deactivated. The id number is displayed in the Breakpoints window.

/id=@dbvar

Deactivates the code breakpoint which belongs to the debugger variable dbvar. The debugger variable is displayed in the Breakpoints window.

/ALL

Deactivates all specified code breakpoints.

Description

The DISABLE BREAKPOINT command deactivates a code breakpoint. The program does not stop even when the code breakpoint condition is met. However, the debugger stores all information about the selected code breakpoints in its internal tables. Therefore, it is easy to activate them again. This is very useful for the reuse of breakpoints with complex conditions and actions later. On the target system this breakpoint is really cleared. This is useful if all hardware breakpoints have been set and you want to set another hardware breakpoint. In the case all hardware breakpoints have been set, you will receive an error message like Memory: read failed or Memory: write failed. If one hardware breakpoint is disabled, another one can be set.

Example

DISABLE BREAKPOINT AT main\@LINE 256
DISABLE BREAKPOINT /id=5
DISABLE BREAKPOINT /ALL
DISABLE BREAKPOINT AT 0x0000D360
DISABLE BREAKPOINT /id=@bbid

See Also

For more complete information about compiler optimizations, see our Optimization Notice.