Added unknown source correctly this time

This commit is contained in:
WebFreak001 2017-02-10 19:45:45 +01:00
commit 3269e86675

View file

@ -219,6 +219,8 @@ export class MI2DebugSession extends DebugSession {
} }
ret.push(new StackFrame(element.level, element.function + "@" + element.address, new Source(element.fileName, file), element.line, 0)); ret.push(new StackFrame(element.level, element.function + "@" + element.address, new Source(element.fileName, file), element.line, 0));
} }
else
ret.push(new StackFrame(element.level, element.function + "@" + element.address, null, element.line, 0));
}); });
response.body = { response.body = {
stackFrames: ret stackFrames: ret