fix crash when pausing

This commit is contained in:
Dmitry Sharshakov 2021-08-22 12:26:36 +03:00
parent 74102bfc6d
commit 060a422c7e
No known key found for this signature in database
GPG key ID: 471FD32E15FD8473

View file

@ -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();
}
}