From 0b56e37da340baba9f56357ff71e83eaf01e30da Mon Sep 17 00:00:00 2001 From: isidor Date: Mon, 24 Oct 2016 16:35:46 +0200 Subject: [PATCH] debug: only send 'indexed' for variables request when dealing with chunks fixes #14082 --- src/vs/workbench/parts/debug/common/debugModel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/parts/debug/common/debugModel.ts b/src/vs/workbench/parts/debug/common/debugModel.ts index 5d16733beb8..ccb1ba59446 100644 --- a/src/vs/workbench/parts/debug/common/debugModel.ts +++ b/src/vs/workbench/parts/debug/common/debugModel.ts @@ -182,7 +182,7 @@ export abstract class ExpressionContainer implements debug.IExpressionContainer const start = this.getChildrenInChunks ? this.startOfVariables : undefined; const count = this.getChildrenInChunks ? this.indexedVariables : undefined; - return this.fetchVariables(start, count, 'indexed') + return this.fetchVariables(start, count, this.getChildrenInChunks ? 'indexed' : undefined) .then(variables => childrenArray.concat(variables)); }); } -- GitLab