helix/helix-dap
Michael Davis 26db54155e
DAP: Drain pending requests on recv failure
This matches <https://redirect.github.com/helix-editor/helix/pull/4852>
for the DAP transport: when there is a failure to receive a message from
the debugger we should drain all pending requests and respond to them
with the StreamClosed error.

This improves the behavior when a debugger fails to initialize, for
example starting debugpy without debugpy installed. Previously the UI
would freeze until the request timed out. Now it instantly prints a
statusline error saying that the debugger failed to start up.
2025-02-04 09:09:54 -05:00
..
src DAP: Drain pending requests on recv failure 2025-02-04 09:09:54 -05:00
Cargo.toml build(deps): bump the rust-dependencies group with 6 updates (#11924) 2024-10-23 22:34:20 +09:00