Evaluate expression

When debugging, you can evaluate expressions to analyze the flow or prototype improvements.

If the expression is present in the code, hold Alt (on Windows and Linux) or (on macOS) and click it. If you want to evaluate a specific code fragment, select it before clicking.

Quick evaluate an expression

To evaluate an arbitrary expression, select Run | Debugging Actions | Evaluate Expression. A separate dialog opens that supports various constructs including loops, assignments, lambdas, and so on.