CANCEL

Cancel watchpoints and breakpoints in the debugger

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS
CANCEL/ALL
CANCEL WATCH [/ALL|variable|address|index]
CANCEL BREAK [/ALL|line|routine|.|routine line]

Arguments

/ALL

(optional) Cancels all watchpoints and breakpoints (in the CANCEL/ALL syntax), all watchpoints (in the CANCEL WATCH/ALL syntax), or all breakpoints (in the CANCEL BREAK/ALL syntax).

variable

(optional) Cancels a watchpoint for the specified variable. See Specifying variables for more information about variable specifications.

address

(optional) Cancels a watchpoint for the specified address.

index

(optional) Cancels a watchpoint for the specified index code (or offset code). (For example, if you set three watchpoints, you can cancel the third using 3 as the index.)

line

Cancels a breakpoint at the specified source line in the current routine.

routine

Cancels a breakpoint on entry to the specified routine.

.

(period) Cancels a breakpoint at the current line in the current routine.

routine:line

Cancels a breakpoint at the specified source line in the specified routine.

Discussion

The CANCEL command cancels one or more existing program watchpoints or breakpoints.

The watchpoint that you specify must already exist. Use the SHOW WATCH command to get a list of existing watchpoints.

Examples

The following example cancels a watchpoint on the dvar variable.

CANCEL WATCH dvar

The example below cancels all breakpoints.

CANCEL BREAK /all