Expressions view

The Expressions view helps you inspect data from a stack frame of a suspended thread. In contrast to the Variables view that shows variables in the current scope, the Expressions view can monitor the values of static and global variables and executed statements that you add to the view.

To open the Expressions view in the current perspective, click Window > Show View > Other > Debug > Variables on the menu:


Expressions view

To open additional Expressions views, click (Open New View) on the toolbar above the view.

To add an expression to the Expressions view, do any of the following:

When added to the Expressions view at debug time, expressions are displayed in the grid with their data types and actual values that are updated in real time. Click an expression in the grid to view more detailed information about it in the Detail pane below the grid.

When the debug session is terminated, the expression names remain until deleted manually. To delete all expressions, click (Remove All Expressions) on the toolbar above the view.