Examining Variables

The Variables Pane of the Debugger window lists the local and global variables that are within the scope of the method that your program is stopped in. You can view and modify the value of a variable directly in the Variables pane. You can also expand a variable to see its contents.

Another way to view and modify variables is in the Watches Pane in the Debugger window. The Watches pane enables you to specify variables and expressions to watch continuously while debugging your program.

For step-by-step instructions, see:

Viewing Variables in the Current Context
Modifying a Variable from the Variables Pane
Watching the Value of a Variable or Expression

Legal Notices