[issue21281] DEBUGGING: Simultaneous stopping of all threads on breakpoint and switching between threads

Sebastian Jylanki report at bugs.python.org
Thu Apr 17 10:52:07 CEST 2014


New submission from Sebastian Jylanki:

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.

----------
components: Interpreter Core
messages: 216677
nosy: azyr
priority: normal
severity: normal
status: open
title: DEBUGGING: Simultaneous stopping of all threads on breakpoint and switching between threads
type: enhancement
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21281>
_______________________________________


More information about the Python-bugs-list mailing list