ENABLE WATCHPOINT

Reactivate an inactive data breakpoint.

Syntax

ENABLE WATCHPOINT {AT expression | /ID =number | /ID=@dbvar | /ALL

Parameters

expression

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

/id=@dbvar

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

/ALL

Reactivates all specified data breakpoints.

Description

This command reactivates the data breakpoint that was deactivated by DISABLE WATCHPOINT.

Example

ENABLE WATCHPOINT /id=15
ENABLE WATCHPOINT AT @LINE 170
ENABLE WATCHPOINT /id=@BPID
ENABLE WATCHPOINT AT location
ENABLE WATCHPOINT /ALL

See Also


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