Quickwatch

Shortcut key: SHIFT+F9

The Quickwatch command displays a dialog box that quickly adds, modifies, or expands variables or expressions in the Watch window.

·To see the value of a variable or the result of an expression:

1.Place the cursor on a variable or expression in your code.

2.Press SHIFT+F9.

·To add a variable or expression to the Watch window:

1.Place the cursor on a variable or expression in your code.

2.Press SHIFT+F9.

3.Choose Add Watch. The Watch window will be opened if it is not already open.

The Zoom button expands or contracts an array or structure. The button is unavailable if the currently selected item cannot be expanded.

The Modify button opens the Modify Variable dialog box with the currently selected item as the default.

The Quickwatch dialog box can only be active if your program is running.

Related Commands

Debug menu: Breakpoints, Watch Expression

See Also

Setting and Removing Breakpoints, page 41; Using Quickwatch, page 44; Other Debugging Features, page 46