Debugger view raises error
- Dominant language
- Python
- Stars
- 3.2k
- Forks
- 245
- Avg merge
- 13m
- Merged PRs (30d)
- 5
Description
**Describe the bug**
When the logic flow reaches the `import pudb; pu.db`, it opens the debugger window, however, with an error at the bottom, i.e.
```
DEBUG pudb.debugger.ThreadsafeRawScreen.wait_for_input_ready Waiting for input: descriptors=[, <_io.TextIOWrapper name='' mode='r' encoding='utf-8'>], timeout=None
```
This causes any key press to be unusable, which when pressed, the error keeps repeating.
**To Reproduce**
Steps to reproduce the behavior:
Use `import pudb; pu.db` with Python 3.12.
**Expected behavior**
The debugger view should be free from any error & any key press shouldn't propogate the error further.
**Screenshots**
**Versions**
Python: 3.12.11
pudb: 2025.1
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue by running `import pudb; pu.db` under Python 3.12 and observe the debugger view and repeated input error. Trace the debugger's input handling from this entry point; done means key presses work normally and the reported error no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100