aboutsummaryrefslogtreecommitdiff
path: root/helix-dap/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-dap/src')
-rw-r--r--helix-dap/src/client.rs5
1 files changed, 5 insertions, 0 deletions
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<DebuggerCapabilities>,
awaited_events: Arc<Mutex<HashMap<String, Sender<Event>>>>,
+
+ //
+ pub breakpoints: HashMap<PathBuf, Vec<SourceBreakpoint>>,
}
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));