Let's talk about debuggers!
Robin Becker
robin at reportlab.com
Fri Oct 27 03:57:41 EDT 2017
On 25/10/2017 15:08, Michele Simionato wrote:
> pdb plus plus: https://pypi.python.org/pypi/pdbpp
>
I like the idea, but in putty at least changing the terminal size causes pdb++
to detach immediately from the process and mess up the screen. I think this is
caused by (5, 'Input/output error') here
/home/rptlab/devel/otr/local/lib/python2.7/site-packages/pyrepl/fancy_termios.py
in tcsetattr
> def copy(self):
> return self.__class__(self.as_list())
> def tcgetattr(fd):
> return TermState(termios.tcgetattr(fd))
> def tcsetattr(fd, when, attrs):
> termios.tcsetattr(fd, when, attrs.as_list())
error is here
> class Term(TermState):
> TS__init__ = TermState.__init__
> def __init__(self, fd=0):
> self.TS__init__(termios.tcgetattr(fd))
> self.fd = fd
--
Robin Becker
More information about the Python-list
mailing list