We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d72bd commit 7b4a682Copy full SHA for 7b4a682
src/backend/mi2/mi2.ts
@@ -622,10 +622,12 @@ export class MI2 extends EventEmitter implements IBackend {
622
const func = MINode.valueOf(element, "@frame.func");
623
const filename = MINode.valueOf(element, "@frame.file");
624
let file: string = MINode.valueOf(element, "@frame.fullname");
625
- if (this.isSSH)
626
- file = posix.normalize(file);
627
- else
628
- file = nativePath.normalize(file);
+ if (file) {
+ if (this.isSSH)
+ file = posix.normalize(file);
+ else
629
+ file = nativePath.normalize(file);
630
+ }
631
632
let line = 0;
633
const lnstr = MINode.valueOf(element, "@frame.line");
0 commit comments