Using undefined instead of "<unknown>" for UI

This commit is contained in:
WebFreak001 2016-09-10 22:22:10 +02:00
commit 839766a065
2 changed files with 12 additions and 10 deletions

View file

@ -525,9 +525,9 @@ export class MI2 extends EventEmitter implements IBackend {
let from = parseInt(MINode.valueOf(element, "@frame.from"));
ret.push({
address: addr,
fileName: filename || "",
file: file || "<unknown>",
function: func || from || "<unknown>",
fileName: filename,
file: file,
function: func || from,
level: level,
line: line
});