Expand description
DAP client for communicating with debug adapters
This module handles the communication with DAP adapters like lldb-dap, including the initialization sequence and request/response handling.
§Architecture
The DapClient uses a background reader task to continuously read from the adapter’s stdout. This ensures that events (stopped, output, etc.) are captured immediately rather than only during request/response cycles.
[DAP Adapter] --stdout--> [Reader Task] --events--> [event_tx channel]
--responses-> [response channels]
[DapClient] --stdin--> [DAP Adapter]Structs§
- DapClient
- DAP client for communicating with a debug adapter