fix crash when pausing
This commit is contained in:
parent
74102bfc6d
commit
060a422c7e
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue