8000 dap-python hangs emacs's whole UI when debugged process exits (maybe?) · Issue #842 · emacs-lsp/dap-mode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
dap-python hangs emacs's whole UI when debugged process exits (maybe?) #842
Open
@glyph

Description

@glyph

Attempting to try out dap-mode, I used dap-debug with Python :: run file (buffer) on twisted/python/filepath.py (on b2a7af4ffcb47f52fe3c951953148fd9becf50a8, if anyone cares about the specifics). I selected debugpy, set a breakpoint on line 34, and started stepping through. It actually worked (after I realized that #528 was preventing anything from working).

After a little bit I thought "okay, I should probably dap-continue to see what happens when the debugger exits" and Emacs locked up for the better part of 10 minutes, despite numerous frantic mashings of C-g. Eventually, the Messages buffer said:

Debug session process exited with status: killed: 9

No message handler for debugpySockets

and Emacs became responsive again.

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

      0