aboutsummaryrefslogtreecommitdiff
path: root/helix-dap
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-09-06 05:47:54 +0000
committerDmitry Sharshakov2021-09-06 05:47:54 +0000
commit507a1f8dd6a7f88b979a09532a14a10eda72867b (patch)
treebcdcf598102c9f67ee7418756260355269b8f549 /helix-dap
parentc9cd06e90400969285eb8ecbb4cfb7abeeef59ca (diff)
Get breakpoint reports from debugger
Diffstat (limited to 'helix-dap')
-rw-r--r--helix-dap/src/client.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs
index e1791cd1..e5f8feb9 100644
--- a/helix-dap/src/client.rs
+++ b/helix-dap/src/client.rs
@@ -33,6 +33,7 @@ pub struct Client {
pub thread_id: Option<isize>,
/// Currently active frame for the current thread.
pub active_frame: Option<usize>,
+ pub breakpoints: Vec<Breakpoint>,
}
impl Client {
@@ -80,6 +81,7 @@ impl Client {
thread_states: HashMap::new(),
thread_id: None,
active_frame: None,
+ breakpoints: vec![],
};
tokio::spawn(Self::recv(server_rx, client_rx));