Quick Watch Command
Applies to:
Visual Studio
Visual Studio for Mac
Visual Studio Code
Displays the selected or specified text in the Expression field of the QuickWatch window. 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
Feedback
Submit and view feedback for