You can add and view expressions in the Expressions view. The Expressions view is part of the Debug perspective.
To add an expression:
Click OK.
The expression appears in the Expressions view. If the selection in the Debug view provides a valid evaluation context (i.e. stack frame) all expressions are evaluated in this context and their values are displayed. Switching between stack frames in the Debug view forces all expressions to be reevaluated.