update watch view when set expression

This commit is contained in:
isidor 2021-08-09 15:13:08 +02:00
parent e2076e315e
commit c00e89d9ae
No known key found for this signature in database
GPG key ID: F9280366A8370105

View file

@ -284,9 +284,7 @@ export class WatchExpressionsRenderer extends AbstractExpressionsRenderer {
const focusedFrame = this.debugService.getViewModel().focusedStackFrame;
if (focusedFrame && (expression instanceof Variable || expression instanceof Expression)) {
await expression.setExpression(value, focusedFrame);
ignoreViewUpdates = true;
this.debugService.getViewModel().updateViews();
ignoreViewUpdates = false;
}
}
}