From f3e47bfee4d70cfc350035f29cc7e20b6ce725e8 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sat, 21 Aug 2021 20:55:45 +0300 Subject: Disable continuing when running --- helix-dap/src/client.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helix-dap/src') diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs index bc7a93d8..cfb278a9 100644 --- a/helix-dap/src/client.rs +++ b/helix-dap/src/client.rs @@ -30,6 +30,7 @@ pub struct Client { pub breakpoints: HashMap>, // TODO: multiple threads support pub stack_pointer: Option, + pub is_running: bool, } impl Client { @@ -51,6 +52,7 @@ impl Client { // breakpoints: HashMap::new(), stack_pointer: None, + is_running: false, }; tokio::spawn(Self::recv(server_rx, client_rx)); -- cgit v1.2.3-70-g09d2