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 .
The expression and its value appear in the
Expressions view. When the execution of a program is suspended, all expressions
C/C++ Development perspective