Reputation: 1335
We're using PyCharm 5.0.1 for multi-thread debugging.
When it stops at a break point, only the specific thread stops while all the other continue. This makes it hard to "freeze the moment" and check params values, and the current state of the other threads.
Is it possible to suspend all the thread while one of them has stopped on a breakpoint?
Is this possible on the newest Pycharm 2016 or the [latest] Pycharm version?
Upvotes: 15
Views: 7003
Reputation: 14145
According to this thread this is possible after PyCharm 2016.2:
Elizaveta Shashkova 27 Jul 2016:
The new feature has appeared in PyCharm 2016.2: breakpoint thread suspend policy. You can go to Run | View breakpoints, select the breakpoint and change its threads suspend policy: "Thread" or "All". Also you can set the default policy for all your breakpoints.
Upvotes: 14