From a86cfb2683c6da731037ae98af103b41c72a1be8 Mon Sep 17 00:00:00 2001 From: Haneef Mohammed Date: Mon, 5 Jun 2023 10:42:06 -0700 Subject: [PATCH] stupid error fix --- src/gdb.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gdb.ts b/src/gdb.ts index e57e4efd..8090af4d 100755 --- a/src/gdb.ts +++ b/src/gdb.ts @@ -2514,7 +2514,7 @@ export class GDBDebugSession extends LoggingDebugSession { const frame = await this.miDebugger.getFrame(threadId, frameId); file = getPathRelative(this.args.cwd, frame?.file || ''); } - catch () { + catch { // Do Nothing. If you hit step/next really really fast, this can fail our/gdb/gdb-server/vscode are out of synch. // Side effect is statics won't show up but only during the fast transitions. // Objective is just not to crash