Variables View


The Variables view is a view shown by the Debug perspective.

Variables View

The Variables view shows variables that are in scope for a particular evaluation frame. When you select a different frame, the variables that are displayed change. The display also shows the values of the variables. In the example above, the variable x, introduced by the pattern construct fun[x_], has the value 10. The variable y, introduced by the module, shows its initial setting.

If you select a variable and then right-click, a context menu will appear.

Variables View

From this you can copy the value of the variable, which can be pasted into a Mathematica session. If you click Watch, the variable is added to the Expressions view.