aboutsummaryrefslogtreecommitdiff
path: root/helix-dap
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-29 14:28:31 +0000
committerBlaž Hrastnik2021-08-29 14:32:46 +0000
commit986828e75c17662da39505c7190220b8c352bc8a (patch)
tree9773aa2ce6ab275c16249372864a44c3e19dd129 /helix-dap
parent03b2d81406d342460604102948305dd96c0826c7 (diff)
dap: Remap keys, match current thread behavior from dap-mode, switch-thread
Diffstat (limited to 'helix-dap')
-rw-r--r--helix-dap/src/client.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs
index 889ca89f..b0e43154 100644
--- a/helix-dap/src/client.rs
+++ b/helix-dap/src/client.rs
@@ -31,7 +31,7 @@ pub struct Client {
pub breakpoints: HashMap<PathBuf, Vec<SourceBreakpoint>>,
// TODO: multiple threads support
pub stack_pointer: Option<StackFrame>,
- pub stopped_thread: Option<usize>,
+ pub thread_id: Option<usize>,
pub is_running: bool,
}
@@ -77,7 +77,7 @@ impl Client {
//
breakpoints: HashMap::new(),
stack_pointer: None,
- stopped_thread: None,
+ thread_id: None,
is_running: false,
};