ipdb
ipdb copied to clipboard
Readline woes
When I start ipdb
in the shell, I get command line completion and the arrow keys work just fine.
However, when I run a script with import ipdb; ipdb.set_trace()
, I get neither. All the arrow keys output is ^[[A^[[B^[[D^[[C
.
Any idea why this happens?
same here, including the fact that autocompletion using the <tab>
key is not working anymore.
- ipdb version: 0.10.0
- ipython version: 4.2.0
FYI, I've downgraded to ipdb==0.9.4
and everything went fine again.
I just tried downgrading ipdb
whilst using iPython 5.1.0 and the issue persists.
same problem here... iPython 5.1.0 (where arrow and tab keys work fine) but ipdb is broken
have tried ipdb==0.7
, ipdb==0.9.4
and latest ipdb==0.10.1
this is usually some problem with readline, I have also asked for help here https://github.com/ludwigschwardt/python-gnureadline/issues/49 with more details
In my case it stopped working not immediately after upgrade to macOS Sierra but after upgrading some packages. Have tried to revert things but cannot get back into working state yet
Well I managed to get the readline parts (up/down arrow) working by rebuilding my virtualenv and using pip install --no-cache-dir
to force packages to actually recompile against my rebuilt python and readline. something like that
Tab completion is still broken in ipdb
Which package needs to be compiled and linked to which library?