aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-22 09:26:36 +0000
committerDmitry Sharshakov2021-08-22 09:26:36 +0000
commit060a422c7efea0892e56845ef326b59983051631 (patch)
treefd920d66c48f3aa0d2e1305bde91b997a42c9724 /helix-term
parent74102bfc6da7cbb49ef383dddc5f789c270663a4 (diff)
fix crash when pausing
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/commands.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index d405de16..7c6e0e60 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -4415,7 +4415,8 @@ fn dap_pause(cx: &mut Context) {
return;
}
- let request = debugger.pause(debugger.stopped_thread.unwrap());
+ // FIXME: correct number here
+ let request = debugger.pause(0);
let _ = block_on(request).unwrap();
}
}