Skip to content

Commit

Permalink
stupid error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haneefdm committed Jun 5, 2023
1 parent 2b7e87f commit a86cfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gdb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a86cfb2

Please sign in to comment.