共用方式為


Quick Watch Command

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.

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

Tasks

How to: Use the QuickWatch Dialog Box

Reference

Visual Studio Commands

Command Window

Find/Command Box

Visual Studio Command Aliases