提交 76ae2e08 编写于 作者: I isidor

Fix for [debug] inconsistency in greyed out stack frames

上级 3893f9f6
......@@ -533,7 +533,14 @@ export class Model extends ee.EventEmitter implements debug.IModel {
}
public sourceIsUnavailable(source: debug.Source): void {
source.available = false;
Object.keys(this.threads).forEach(key => {
this.threads[key].callStack.forEach(stackFrame => {
if (stackFrame.source.uri.toString() === source.uri.toString()) {
stackFrame.source.available = false;
}
});
});
this.emit(debug.ModelEvents.CALLSTACK_UPDATED);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册