Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"b"/"breakpoint" command waiting for terminal input with no reason when file path contains format like number_. #288

Open
Learner209 opened this issue Oct 26, 2024 · 0 comments

Comments

@Learner209
Copy link

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:

  1. create a file called "5_test.py".
  2. Paste the below into the file.
import ipdb; ipdb.set_trace()
print("Hello world!")
  1. 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.

@Learner209 Learner209 changed the title "b"/"breakpoint" command waiting for terminal input even when entreing right command when file path contains format like number_. "b"/"breakpoint" command waiting for terminal input even when entering right command when file path contains format like number_. Oct 26, 2024
@Learner209 Learner209 changed the title "b"/"breakpoint" command waiting for terminal input even when entering right command when file path contains format like number_. "b"/"breakpoint" command waiting for terminal input with no reason when file path contains format like number_. Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant