How to: View Variables That Are in Scope

On the Debugger page, if the debugger has broken code execution, then you can view all of the variables that are currently in scope. This allows you to inspect the values of the variables at the point at which you have broken code execution. You can also choose to add variables to the watch list.

To view variables that are in scope

  • In the Debugger window, on the Home tab, in the Show group, choose Variables. The Debugger Variable List opens.

See Also

Tasks

How to: Add Variables to the Watches FactBox
How to: Remove Variables from the Watches FactBox
How to: Show the Last Error When Debugging Code

Concepts

Debugging