summaryrefslogtreecommitdiff
path: root/helix-dap/src/client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-dap/src/client.rs')
-rw-r--r--helix-dap/src/client.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs
index e7e714b6..7f648e98 100644
--- a/helix-dap/src/client.rs
+++ b/helix-dap/src/client.rs
@@ -36,6 +36,8 @@ pub struct Client {
//
pub breakpoints: HashMap<PathBuf, Vec<SourceBreakpoint>>,
+ // TODO: multiple threads support
+ pub stack_pointer: Option<StackFrame>,
}
impl Client {
@@ -56,6 +58,7 @@ impl Client {
awaited_events: Arc::new(Mutex::new(HashMap::default())),
//
breakpoints: HashMap::new(),
+ stack_pointer: None,
};
tokio::spawn(Self::recv(Arc::clone(&client.awaited_events), server_rx));