Skip to content

Commit 6369044

Browse files
committed
avoid showing @undefined if the address is not known
1 parent f76f6fc commit 6369044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mibase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export class MI2DebugSession extends DebugSession {
320320

321321
ret.push(new StackFrame(
322322
this.threadAndLevelToFrameId(args.threadId, element.level),
323-
element.function + "@" + element.address,
323+
element.function + (element.address ? "@" + element.address : ""),
324324
source,
325325
element.line,
326326
0));

0 commit comments

Comments
 (0)