Sunday, 25 August 2013

Oddities with the python debugger and gnome terminal

Oddities with the python debugger and gnome terminal

Kind of a weird situation I'm in. When I exit a python debugging session
using pdb or pudb, my terminal stops displaying characters as I type them.
The commands still work as I am seeing their output, but my keystrokes are
not being displayed. It's not really possible to prove this as I can't
very well show you characters that are not appearing.
In addition, pressing enter does not start a new line.
I'll try show what I mean with the enter key - pressing it (with an empty
prompt) will give me another prompt, but on the same line as before:
lix@lix-home:~$ lix@lix-home:~$ lix@lix-home:~$ lix@lix-home:~$
As you can see, I just get the text from 4 prompts one after the other.
Does anyone have any ideas as to what/why the current behavior is
occurring?
I'm using
Ubuntu 12.04
GNOME Terminal 3.4.1.1
Python 2.7

No comments:

Post a Comment