Why python debugger always get this timeout waiting for response on 113 when using Pycharm?

后端 未结 3 1440
既然无缘
既然无缘 2021-01-04 11:10

\"enter

Bigger image

Especially I run code perhaps running a little long time(

3条回答
  •  走了就别回头了
    2021-01-04 11:39

    As you are on Windows, for debugging such & most things I use the good old PythonWin IDE: This IDE + Debugger runs in the same process as the debugged stuff!

    This way, being in direct touch with real objects, like pdb in simple interactive shell, but having a usable GUI, is a big advantage most of the time. And this way there are no issues of transferring vast objects via repr/pickle or so between processes, no delays, no issues of timeouts etc.

    If a step takes a long time, PythonWin will also simply wait and not respond before ... (unless one issues a break signal/KeyboardInterrupt via the PythonWin system tray icon).

    And the interactive shell of PythonWin is also fully usable during the debugging - with namespace inside the current frame.

提交回复
热议问题