My environment:
Ubuntu22.04, python3.12.0, using conda. ipdb version is 0.13.13.
I noticed that whenever I wanted to set a breakpoint using "breakpoint"/"b" command, the terminal seems to be waiting for input without any reason. This only happens when the file I wanted to set breakpoints in has path that contains "number_" format, (i.e. 9_test.py, some_path/8_test/test.py) but paths like test_8.py, 88.py, some_path/88/test.py work as expected.
Steps to reproduce:
- create a file called "5_test.py".
- Paste the below into the file.
import ipdb; ipdb.set_trace()
print("Hello world!")
- When the ipdb console shows, trying to set a breakpoint at the
print("Hello world") line using the 'breakpooint'/'b' command, then hit enter key, nothing happens, typing any other things wouldn't help either.
I have confimed that python 3.8, python 3.10 all worked well, tested under conda envs.