aboutsummaryrefslogtreecommitdiff
path: root/helix-dap
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-09-03 02:30:25 +0000
committerBlaž Hrastnik2021-09-03 02:30:25 +0000
commit27c1b3f98b58edf690fda7caa2b14f34d6661598 (patch)
tree59963ef8b67df8f067c591e2aa83da3134d4cbce /helix-dap
parent5b920c53f0b2cb1d6f48ffa46659c65f7fb6fde5 (diff)
dap: Extract a thread_states map
Diffstat (limited to 'helix-dap')
-rw-r--r--helix-dap/src/client.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs
index 72f7e12c..9208db9d 100644
--- a/helix-dap/src/client.rs
+++ b/helix-dap/src/client.rs
@@ -31,6 +31,7 @@ pub struct Client {
pub breakpoints: HashMap<PathBuf, Vec<SourceBreakpoint>>,
// thread_id -> frames
pub stack_frames: HashMap<usize, Vec<StackFrame>>,
+ pub thread_states: HashMap<usize, String>,
pub thread_id: Option<usize>,
/// Currently active frame for the current thread.
pub active_frame: Option<usize>,