提交 bedb191a 编写于 作者: I isidor

debug inline values: clear word to line number cache on model content change

fixes #19212
上级 f4aca010
......@@ -168,6 +168,9 @@ export class DebugEditorContribution implements IDebugEditorContribution {
}
}));
this.toDispose.push(this.editor.onKeyDown((e: IKeyboardEvent) => this.onKeyDown(e)));
this.toDispose.push(this.editor.onDidChangeModelContent(() => {
this.wordToLineNumbersMap = null;
}));
this.toDispose.push(this.editor.onDidChangeModel(() => {
const sf = this.debugService.getViewModel().focusedStackFrame;
const model = this.editor.getModel();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册