fix crash when pausing

pull/574/head
Dmitry Sharshakov 3 years ago
parent 74102bfc6d
commit 060a422c7e
No known key found for this signature in database
GPG Key ID: 471FD32E15FD8473

@ -4415,7 +4415,8 @@ fn dap_pause(cx: &mut Context) {
return; return;
} }
let request = debugger.pause(debugger.stopped_thread.unwrap()); // FIXME: correct number here
let request = debugger.pause(0);
let _ = block_on(request).unwrap(); let _ = block_on(request).unwrap();
} }
} }

Loading…
Cancel
Save