From 6458edecfd5fda486c9b9a1d0d802aa23bcd90ac Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sat, 21 Aug 2021 14:15:29 +0300 Subject: Add stack pointer display when stopped --- helix-dap/src/client.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'helix-dap') 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>, + // TODO: multiple threads support + pub stack_pointer: Option, } 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)); -- cgit v1.2.3-70-g09d2