IntelliJ IDEA 14.0.0 Web Help

Evaluate Expression

Run | Evaluate Expression Editor Context Menu | Evaluate ExpressionAlt+F8 variables_evaluate_expr

Use this dialog box to calculate values of expressions or code fragments during the debugging session.

Item Description
Expression Use this field to edit the expression to be evaluated. If an expression is selected in the editor, this field displays selection.
Language Choose Java or Groovy from the drop-down list, to enable recognition of the respective syntax of expressions.
Statements to Evaluate Type the group of statements to be evaluated. If a code fragment is selected in the editor, this field displays selection.
Result Here the results are displayed.
Evaluate Click this button to evaluate the current expression or code fragment.
Close Click this button to close the dialog box.
Code Fragment Mode Click this button to toggle to the Code Fragment Mode.
Expression Mode Click this button to toggle to the Expression Mode.

See Also

Last modified: 4 December 2014
comments powered by Disqus