DISABLE WATCHPOINT

Deactivate a data breakpoint.

Syntax

DISABLE WATCHPOINT AT expression

DISABLE WATCHPOINT /ID=number

DISABLE WATCHPOINT /ID=@dbvar

DISABLE WATCHPOINT /ALL

Parameters

expression

The expression which yields the address of the data 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 data breakpoint to be deactivated. The id number is displayed in the Breakpoints window.

/id=@dbvar

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

/ALL

Deactivates all specified data breakpoints.

Description

The DISABLE WATCHPOINT command deactivates a data breakpoint. The program does not stop even when the data breakpoint condition is met. However, the debugger stores all information about the selected data breakpoint in its internal tables. Thus it is easy to reactivate them. This is very useful if data breakpoints with complex conditions and actions are to be deleted temporarily. On the target system this data breakpoint is really cleared. This is useful if all hardware data breakpoints (maximum 4) have been set and the user wishes to set another hardware data breakpoint. In the case all hardware data breakpoints have been set, you will receive an error message like Memory: read failed or Memory: write failed. If one hardware data breakpoint is disabled, another one can be set.

Example

DISABLE WATCHPOINT AT putrecord
DISABLE WATCHPOINT /id=2
DISABLE WATCHPOINT /id=@BRKSYM1
DISABLE WATCHPOINT /ALL

See Also


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