debugger: Fix not being able to stop a Go debug session when no breakpoints were ever hit (#35190)
Fixes #35030 Release Notes: - debugger: Fixed a bug where a Go debug session could not be stopped if no breakpoint was ever hit.
This commit is contained in:
parent
cef7d53607
commit
4aae7aed93
6 changed files with 19 additions and 24 deletions
|
@ -918,7 +918,7 @@ async fn test_debug_panel_item_thread_status_reset_on_failure(
|
|||
.unwrap();
|
||||
|
||||
let client = session.update(cx, |session, _| session.adapter_client().unwrap());
|
||||
const THREAD_ID_NUM: u64 = 1;
|
||||
const THREAD_ID_NUM: i64 = 1;
|
||||
|
||||
client.on_request::<dap::requests::Threads, _>(move |_, _| {
|
||||
Ok(dap::ThreadsResponse {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue