diff options
author | Dmitry Sharshakov | 2021-08-21 11:15:29 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-21 11:15:29 +0000 |
commit | 6458edecfd5fda486c9b9a1d0d802aa23bcd90ac (patch) | |
tree | 24571abfe6e7c284fcd4fd1889a54eae59487df9 /helix-dap/src | |
parent | 738e8a4dd3e9b22cd8b2d35a48ddc104a53187c4 (diff) |
Add stack pointer display when stopped
Diffstat (limited to 'helix-dap/src')
-rw-r--r-- | helix-dap/src/client.rs | 3 |
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)); |