Viewing Variables in the Current Context

  1. In the Debugger window, click the Variables tab.

    This tab displays all variables that are within the scope of the method in which your program is stopped.

  2. Select the variable you want to view.

    The variable's properties, including its type and value, appear in the Properties pane on the right.

  3. To expand an object to see its contents, click the turner control to the left of the object.
You can modify the value of a variable directly in the Properties pane. Click the Value column, type a new value, and press Enter.
See also
Watching the Value of a Variable or Expression

Legal Notices