Watch Command
Applies to:
Visual Studio
Visual Studio for Mac
Visual Studio Code
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.
Syntax
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
Feedback
Submit and view feedback for