diff --git a/src/gdb/GDBDebugSessionBase.ts b/src/gdb/GDBDebugSessionBase.ts index 04c6dae2..48608d23 100644 --- a/src/gdb/GDBDebugSessionBase.ts +++ b/src/gdb/GDBDebugSessionBase.ts @@ -333,7 +333,7 @@ export abstract class GDBDebugSessionBase extends LoggingDebugSession { * actually paused. The paused thread ID is saved to `this.waitPausedThreadId`. */ protected async pauseIfNeeded(): Promise { - this.waitPausedNeeded = this.isRunning && this.gdb.getAsyncMode(); + this.waitPausedNeeded = this.isRunning; if (this.waitPausedNeeded) { const waitPromise = new Promise((resolve) => {