From 060a422c7efea0892e56845ef326b59983051631 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sun, 22 Aug 2021 12:26:36 +0300 Subject: [PATCH] fix crash when pausing --- helix-term/src/commands.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } }