Unnamed repository; edit this file 'description' to name the repository.
fix crash when pausing
Dmitry Sharshakov 2021-08-22
parent 74102bf · commit 060a422
-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();
}
}