diff options
author | Dmitry Sharshakov | 2021-08-21 17:55:45 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-21 17:55:45 +0000 |
commit | f3e47bfee4d70cfc350035f29cc7e20b6ce725e8 (patch) | |
tree | e7e1b692923dd891e8edd9715497f0718defe135 /helix-dap | |
parent | 5230a2b6698ee4d8dc69a7855b046a887bfefcff (diff) |
Disable continuing when running
Diffstat (limited to 'helix-dap')
-rw-r--r-- | helix-dap/src/client.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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<PathBuf, Vec<SourceBreakpoint>>, // TODO: multiple threads support pub stack_pointer: Option<StackFrame>, + 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)); |