The Variables tab of the Debugger window lists the local, instant, and static 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 tab. You can also expand a variable to see its contents.
Another way to view and modify variables is in the Watches tab in the Debugger window. The Watches tab 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 Tab
Watching the Value of a Variable or Expression