Evaluating an Expression
See Also
When you are in a debugging session, you can evaluate any
variable in your program using the Evaluation window.
To evaluate an expression:
-
Start a debugging session.
-
Pause execution of your program.
- Select a variable or expression in the Editor window and click
the Expression Evaluation button in the toolbar. The Evaluation window opens and
displays the value of the variable or expression.
Notes:
- If the 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 Expression text field includes all of the
variables and expressions that have been evaluated. You can select from
list to display its current value.
- You can change the format in which values are displayed using the
Format drop-down list.
Legal Notices