How do you add breakpoints to a Python program in IDLE?

后端 未结 4 1161
后悔当初
后悔当初 2020-12-05 22:38

I solved this already, I\'m just posting it here because I couldn\'t figure it out with google, or by reading the docs. I only found it by accident.

To add a breakpo

4条回答
  •  执笔经年
    2020-12-05 23:16

    Completing the answer supplied by the OP: after setting the breakpoint - you must turn on IDLE's debug mode (using debug --> debugger). When you run the program, press "Go" in the debug window that opens up and IDLE will stop at the breakpoint.

提交回复
热议问题