Answer the question
In order to leave comments, you need to log in
Clumsy behavior of ipdb?
When setting ipdb.set_trace(), I observe strange behavior on the command line, which is very annoying:
When you press the Home button, the cursor moves not to the beginning but to the middle of the line and you can’t move further with home or arrows (and if you don’t use home, everything You can still move the cursor to the beginning of the line), while the end button moves the cursor far to the right. It seems that the line has moved and some of the symbols are simply not visible, besides, after pressing home, the piece on which the cursor stopped constantly hangs on the screen when moving up and down with the arrows. Python 3, terminator was used. In pdb - all the rules, in the second python too, changing the console does not solve anything.
Here I tried to capture the bug https://asciinema.org/a/7ddikodslwh3lujjxfmw20y72
Maybe someone knows what's wrong?
Answer the question
In order to leave comments, you need to log in
I think it depends on the combination of OS, terminal wrapper and shell. I remember I had to tweak the terminator and iterm2 settings in the poppy for the correct behavior. Try emax combinations: Ctrl+b/f -- jump by letter, Alt+b/f -- by words, Ctrl+a/e -- to the beginning/end of the line, Ctrl/Alt + d -- deleting a character/word.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question