IntelliJ IDEA 12.1.0 Web Help

Run | Evaluate Expression

Editor Context Menu | Evaluate Expression

variables_evaluate_expr

Run | Evaluate Expression

Editor Context Menu | Evaluate Expression

variables_evaluate_expr

Use this dialog box to calculate values of evaluationObjects during the debugging session.

ItemDescription
ExpressionUse this field to edit the expression to be evaluated. If an expression is selected in the editor, this field displays selection.

Tip

This field is available in the Expression Mode.

LanguageChoose Java or Groovy from the drop-down list, to enable recognition of the respective syntax of expressions.

Tip

This field is available only for Groovy scripts.

Statements to EvaluateType the group of statements to be evaluated. If a code fragment is selected in the editor, this field displays selection.

Tip

This field is available in the Code Fragment Mode.

ResultHere the results are displayed.
EvaluateClick this button to evaluate the current evaluationObject.
CloseClick this button to close the dialog box.
Code Fragment ModeClick this button to toggle to the Code Fragment Mode.
Expression ModeClick this button to toggle to the Expression Mode.

See Also

Procedures:

Web Resources: