python debugger pdb doesn't show command when typing (only shows dots in place of chars)

1.4k views Asked by At

I was using the pdb debugger in the google colab https://colab.research.google.com/.

I was able to set a breakpoint at a line using pdb.set_trace(), but when the debugger stops there and I type-in the next command, it hides the typed characters in the command.

Shown below where "*********" appears in 'pdb' command line instead of 'p inputs' before the command executes:

enter image description here

How to fix this?

Why is pdb not showing characters in the command before it's run?

1

There are 1 answers

0
jr. On

I found this discussion that suggests using reset or stty sane