fix crash when pausing

pull/574/head
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
1 changed files with 2 additions and 1 deletions

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