From 8184d8bbcdd2f0452e6a226f4b8eddd606208492 Mon Sep 17 00:00:00 2001 From: chriswang521 Date: Tue, 14 Nov 2023 15:40:20 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E8=B0=83=E8=AF=95=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8B=EF=BC=8C=E5=8F=98=E9=87=8F=E8=A7=86=E5=9B=BE=E4=B8=AD?= =?UTF-8?q?=EF=BC=8C=E9=80=9A=E8=BF=87=E5=BF=AB=E6=8D=B7=E9=94=AEF2?= =?UTF-8?q?=E6=9D=A5=E8=AE=BE=E7=BD=AE=E5=80=BC=E5=A4=B1=E8=B4=A5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/vs/workbench/contrib/debug/browser/variablesView.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/contrib/debug/browser/variablesView.ts b/src/vs/workbench/contrib/debug/browser/variablesView.ts index 01aac2fa..b067608b 100644 --- a/src/vs/workbench/contrib/debug/browser/variablesView.ts +++ b/src/vs/workbench/contrib/debug/browser/variablesView.ts @@ -171,7 +171,7 @@ export class VariablesView extends ViewPane { } })); this._register(this.debugService.getViewModel().onDidEvaluateLazyExpression(async e => { - if (e instanceof Variable) { + if (e instanceof Variable && this.tree.hasNode(e)) { await this.tree.updateChildren(e, false, true); await this.tree.expand(e); } @@ -470,7 +470,7 @@ class VariablesAccessibilityProvider implements IListAccessibilityProvider {