Skip to content

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

@ryan-wan

Description

@ryan-wan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions