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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20061>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to