PyCharm 2018.3 Help

Evaluate Expression

Run | Evaluate Expression
Editor Context Menu | Evaluate Expression
Alt+F8
icons debugger evaluateExpression svg

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.

Item

Description

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.

Last modified: 14 December 2018

See Also