Adding expressions
You can add and view expressions in the Expressions view. The Expressions view is part of the Debug perspective.
To add an expression:
- Select Add Watch Expression in the context menu of the Expressions view.
- Type the expression that you want to evaluate. For example, (x-5)*3 .
Click OK.
The expression and its value appear in the Expressions view. When the execution of a program is suspended, all expressions are reevaluated.