[issue20061] pdb through separate terminal not working properly

Chiel ten Brinke report at bugs.python.org
Tue Dec 24 16:09:20 CET 2013


New submission from Chiel ten Brinke:

There are several reasons why one would need to debug in a terminal window other than the debuggee terminal window, for instance when we have a curses application.
The pdb doesn't support a tty command like gdb, which would allow this.
Instead, it is possible to manually create a Pdb object with the stdin/stdout set to the terminal you want to use (e.g. /dev/pts/6). However, this is quite cumbersome, as command history, autocompletion etc don't work this way. Also, it seems that post mortem debugging cannot easily be done this way, like when running `python3.3 -m pdb myscript.py`. 

There should be an easy way to debug properly through a second terminal window.

----------
messages: 206895
nosy: Chiel92
priority: normal
severity: normal
status: open
title: pdb through separate terminal not working properly
type: behavior
versions: Python 3.3

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


More information about the Python-bugs-list mailing list