SHOW WATCHPOINT

Display data breakpoints parameters.

Syntax

SHOW WATCHPOINT AT expression

SHOW WATCHPOINT /ID=watch-id

SHOW WATCHPOINT /ID=@dbvar

SHOW WATCHPOINT /ALL

Parameters

AT expression

The data breakpoint at the address denoted by expression is displayed. The parameter expression can be:

A name of a global variable

An address

/id=watch-id

Displays the data breakpoint with the id number number.

/id=@dbvar

Displays the data breakpoint which belongs to the debugger variable dbvar. The debugger variable may be specified while setting the data breakpoint.

/ALL

Displays all existing data breakpoints.

Description

This command displays the status and count, expression and action parameters, and ID numbers of data breakpoints in the Console window.

The status may be ENABLE, DISABLE or CURRENT. The status CURRENT means that the last program stop is caused by this data breakpoint.

Example

SHOW WATCHPOINT /id=13
SHOW WATCHPOINT /id=@DBID
SHOW WATCHPOINT /ALL

See Also

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