Compartilhar via


Watch Command

Creates and opens a specified instance of a Watch window. You can use a Watch window to calculate the values of variables, expressions, and registers, to edit these values, and to save the results.

Debug.Watch[index]

Arguments

  • index
    Required. The instance number of the watch window.

Remarks

The index must be an integer. Valid values are 1, 2, 3, or 4.

Example

>Debug.Watch1

See Also

Tasks

How to: Use Debugger Variable Windows

How to: Edit a Value in a Variable Window

How to: Use the QuickWatch Dialog Box

Reference

Visual Studio Commands

Command Window

Find/Command Box

Visual Studio Command Aliases