evaluating code at this point in execution in pycharm debug mode

This is possible when using the “Evaluate Expression” functionality in PyCharm already. When you statements in the evaluate expression mode, you have full access to the current interpreter and can run any valid Python code you like.

If you have longer statements I would suggest expanding the expression input field using the expansion arrows: enter image description here

The following shows an actual usage of this: enter image description here

As you can see c is now available in the current interpreter and also printed to the console.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top