debug: update inline values when variable is set

fixes #119564
This commit is contained in:
isidor 2021-03-29 13:03:30 +02:00
parent ce184d9ec7
commit ddd480046d
No known key found for this signature in database
GPG key ID: F9280366A8370105

View file

@ -237,6 +237,7 @@ export class DebugEditorContribution implements IDebugEditorContribution {
DebugEditorContribution.MEMOIZER.clear();
this.updateInlineValuesScheduler.schedule();
}));
this.toDispose.push(this.debugService.getViewModel().onWillUpdateViews(() => this.updateInlineValuesScheduler.schedule()));
this.toDispose.push(this.editor.onDidChangeModel(async () => {
const stackFrame = this.debugService.getViewModel().focusedStackFrame;
const model = this.editor.getModel();