interactive shell debugging with pycharm

前端 未结 9 1283
灰色年华
灰色年华 2020-11-30 18:49

I am new to PyCharm. I have been using IDLE for a long time.

It is very convenient to use Python objects after script execution in IDLE. Is there any way to use scr

9条回答
  •  爱一瞬间的悲伤
    2020-11-30 19:06

    Not mentioned above:

    If you want to use a variable during execution, e.g. to when you set a breakpoint and then experiment with calling functions on objects in current scope, PyCharm has an 'Evaluate Expression (Alt-F8)' popup window.

    In this window, you can call functions and see the output. Code completion also works. This window also has a "code fragment mode", I am just researching what it means - can you define temporary functions here?.

    (I am using PyCharm 3.0.1 Community Edition)

提交回复
热议问题