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 and its value appear in the Expressions view. When the execution of a program is suspended, all expressions are reevaluated and changed values are highlighted.