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

cannot stop debugging session when there is long running evaluate request #1245

Open
ryan-wan opened this issue May 31, 2024 · 0 comments
Open

Comments

@ryan-wan
Copy link

When you are in a debug session, if you run a long running evaluate request (e.g. sleep operations), the thread gets blocked, you cannot terminate the debug session or issue other evaluate request until the time runs out.
(you could still interrupt the kernel thought)

There seems to be an environment config in debugpy which will set a timeout on the long evaluation request PYDEVD_INTERRUPT_THREAD_TIMEOUT. I think vscode by default interrupt after 3 seconds
src

Screen.Recording.2024-05-31.at.1.49.49.PM.mov
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