PyCharm 2024.1 Help

Evaluate Expression

Use this dialog 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.

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: 11 February 2024