Evaluating an Expression
When you are in a debugging session, you can evaluate
any variable in your program using the Expression Evaluation window
To evaluate an expression:
- Start a debugging session.
- Pause execution of your program.
- Select a variable or expression in the Source Editor,
right-click, and choose Evaluate Expression. The Expression
Evaluation window opens and display the value of the variable
or expression.
Notes:
- When the Expression Evaluation window is open, you
can also type the name of a variable or expression in the
Expression text field to display its value.
- The drop-down list of the Expression text field
includes all of the variables and expressions that have
been evaluated. You can select a variable or expression
from list to display its current value.
- You can change the format in which values are
displayed using the Format drop-down list.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.