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:

  1. Start a debugging session.
  2. Pause execution of your program.
  3. 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:

See Also
C and C++ Expression Evaluation Window
Using Balloon Evaluation
Creating a C or C++ Watch

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.