As the name implies, you can use the QuickWatch dialog box to quickly evaluate a variable or expression. (For more information, see Evaluating an Expression in the QuickWatch Dialog Box.)
You can also use QuickWatch to edit the value of a variable or register. (You can edit and display register values for native C++ applications only.) For more information, see Editing a Value in QuickWatch.
QuickWatch is a modal dialog box. You cannot leave it open to watch a variable or expression while you step through your program. If you need to do that, you can add the variable or expression to the Watch window. For more information, see Adding a QuickWatch Expression to the Watch Window.
To open the QuickWatch dialog box
- From the Debug menu, choose QuickWatch. (The debugger must be in break mode.)
-or-
- In a source window, right-click a variable name and choose QuickWatch from the shortcut menu. This automatically places the variable into the QuickWatch dialog box. (The debugger must be in break mode.)
The QuickWatch dialog box is resizable.
To resize the QuickWatch dialog box
- Click the lower right corner of the dialog box and drag it.
See Also
QuickWatch Dialog Box | Debugging Basics: QuickWatch | Expressions in the Debugger | Debugging Tools for Inspecting Your Program | Command Window