helix/helix-dap/src
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
..
client.rs minor: Remove double BufReader wrapper in DAP client 2025-02-04 08:52:09 -05:00
lib.rs DAP: Refactor handling of Event and Request protocol types 2025-01-27 15:27:35 -05:00
transport.rs DAP: Drain pending requests on recv failure 2025-02-04 09:09:54 -05:00
types.rs DAP: Refactor handling of Event and Request protocol types 2025-01-27 15:27:35 -05:00