Skip to content

Commit

Permalink
avoid showing @undefined if the address is not known
Browse files Browse the repository at this point in the history
  • Loading branch information
JacquesLucke committed Aug 22, 2024
1 parent f76f6fc commit 6369044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mibase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export class MI2DebugSession extends DebugSession {

ret.push(new StackFrame(
this.threadAndLevelToFrameId(args.threadId, element.level),
element.function + "@" + element.address,
element.function + (element.address ? "@" + element.address : ""),
source,
element.line,
0));
Expand Down

0 comments on commit 6369044

Please sign in to comment.