## Expressions View

Use the Expressions view to monitor and manipulate:

- global and local variables
- structure members
- array elements

The Expressions view displays these panes:

- Expression pane (left) — Lists expressions and expression hierarchies. Click the hierarchical controls to expand or collapse the expression view.
- Value pane (right) — Shows the current value of each corresponding expression. Double-click a value to change it.

Figure 1 shows the Expressions view.

Figure 1 - Expressions view

##### Table 1. Expressions view —items

Item | Icons | Explanation
--- | --- | ---
Show Type Names |  | Toggles the display of type names in the Expressions view.
Show Logical Structure |  | Not available in C/C++ yet.
Collapse All |  | Collapses all expanded expressions into the top level.
New Watch Expression |  | Click to open the Add Watch Expression dialog.
Remove Selected Expression |  | Click to remove all currently selected expressions from the expressions list.
Remove All Expressions |  | Click to remove all expressions from the expressions list.
Refresh |  | Click to refresh view display.

#### Opening the Expressions View

Use the Expressions view to inspect frequently used variables as their values change during a debugging session.

#### Opening an Expressions view

- Select Window > Show View > Expressions
- OR
- Right-click a variable in the Variables or editor view and choose the Add Watchpoint (C/C++) menu item

An Expressions view appears in the current perspective.

##### Related tasks

- Adding & Removing Expressions
- Editing Expressions