From 94a1951d40d26f4f535bdb5aab5668c84fdd95ae Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 19 Aug 2021 11:24:53 +0900 Subject: Work towards a breakpoint UI --- helix-dap/src/client.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'helix-dap') diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs index 487022cf..84704b96 100644 --- a/helix-dap/src/client.rs +++ b/helix-dap/src/client.rs @@ -33,6 +33,9 @@ pub struct Client { request_counter: AtomicU64, capabilities: Option, awaited_events: Arc>>>, + + // + pub breakpoints: HashMap>, } impl Client { @@ -51,6 +54,8 @@ impl Client { request_counter: AtomicU64::new(0), capabilities: None, awaited_events: Arc::new(Mutex::new(HashMap::default())), + // + breakpoints: HashMap::new(), }; tokio::spawn(Self::recv(Arc::clone(&client.awaited_events), server_rx)); -- cgit v1.2.3-70-g09d2