Quick Watch Command

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Displays the selected or specified text in the Expression field of the QuickWatch Dialog Box. You can use this dialog box to calculate the current value of a variable or expression recognized by the debugger, or the contents of a register. In addition, you can change the value of any non-const variable or the contents of any register.

Syntax

Debug.QuickWatchq [text]

Arguments

text Optional. The text to add to the QuickWatch dialog box.

Remarks

If text is omitted, the currently selected text or word at the cursor is added to the Watch window.

Example

>Debug.QuickWatch

See Also

How to: Use the QuickWatch Dialog Box Visual Studio Commands Command Window Find/Command Box Visual Studio Command Aliases