This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sjlnk
Recipients sjlnk
Date 2014-04-17.08:52:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397724727.36.0.728876639251.issue21281@psf.upfronthosting.co.za>
In-reply-to
Content
When debugging with some of the other very popular tools like GDB all the threads are halted when a breakpoint is hit on any of the threads. Then threads can be switched and analyzed separately at the current state of execution.

When debugging with PDB only the thread that hits the breakpoint is halted. This makes it quite hard to debug multi-threaded programs (like IO based programs). Also it's annoying that the console output will be shown from other threads when the debugger is stopped.

I think it would be extremely helpful for many people to have PDB behave like GDB when debugging multithreaded applications: halt execution on all threads when breakpoint is hit and continue execution on all threads when execution is continued from the debugger.
History
Date User Action Args
2014-04-17 08:52:07sjlnksetrecipients: + sjlnk
2014-04-17 08:52:07sjlnksetmessageid: <1397724727.36.0.728876639251.issue21281@psf.upfronthosting.co.za>
2014-04-17 08:52:07sjlnklinkissue21281 messages
2014-04-17 08:52:06sjlnkcreate