Watch Window

   

Displays the values of selected variables or watch expressions.

The Watch window is only updated when execution is stopped at a breakpoint or exception. Values that have changed since the last break are highlighted.

In the Watch window you can:

  • Drag a selected variable to the Immediate window.

  • Double-click a variable to edit its value.

    Caution   Entering an expression with side effects in the Watch window may result in unexpected changes in your code.

Note   You can change the size of a column header by dragging its border to the right to make it larger or to the left to make it smaller.

Elements

Name

Displays a list of variables or expressions to be evaluated.

Value

Displays the values of selected variables or expressions.

Type

Displays a list of the data types for the selected variables or expressions.