-
Notifications
You must be signed in to change notification settings - Fork 26
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
Debugger Hangs on check_output #502
Comments
Hi! Can you include the config you use from launch.json to run this in the debugger? Do you know which line it hangs on in the debugger? |
Windows 10 Pro 64-bit As stated, debugger hangs attempting to execute this command:
Regression. Runs without issue using version 2024.10.0. Consistently hangs using version 2024.12.0. |
I was running into a similar issue. I had consistent reproduction with a similar script, though mine used Popen. As a one-liner: I narrowed down where things were blocking. It was line 1205 of subprocess.py: https://github.com/python/cpython/blob/6da9d252ac39d53342455a17bfec7b1087fba697/Lib/subprocess.py#L1205 However, I tried to reproduce @1John419's example, including using Python 3.12.2. This involved deleting my virtual environment. Since then, I've been unable to reproduce the issue of subprocess not returning. So maybe it was some weird caching issue? Hard to know really, but like John, I only had the behaviour with 2024.12.0 and not with 2024.10.0. I still have an issue that seems related (let me know if you want a distinct ticket for it). When I change "git" to a command that is invalid, pydevd raises an exception.
My setup: |
This hangs in the debugger in 2024.12.0. However, it runs as expected from the command line outside of vscode.
Works fine in 2024.10.0.
The text was updated successfully, but these errors were encountered: