The Variables view of the Debug perspective allows you to view a list of variables and their values. The local variables associated with the current stack frame display, in addition to global variables.
Tip: Hover over a variable in the source code editor to display the value of the variable.
The expressions associated with the current stack frame display in the Expressions View of the Debug perspective. The value of the expression displays in the Value column. Click Add new expression to add a new expression.
Use the Expressions view to add expressions when debugging your code
Tip: If this view is not included in your Debug perspective, select Windows>Show View>Expressions.