提交 dc5d20e3 编写于 作者: I isidor

debug: tune variable page interval display

#9775
上级 de177b62
......@@ -257,7 +257,7 @@ export abstract class ExpressionContainer implements debug.IExpressionContainer
const numberOfChunks = this.indexedVariables / ExpressionContainer.CHUNK_SIZE;
for (let i = 0; i < numberOfChunks; i++) {
const chunkSize = Math.min(ExpressionContainer.CHUNK_SIZE, this.indexedVariables - i * ExpressionContainer.CHUNK_SIZE);
const chunkName = `${i * ExpressionContainer.CHUNK_SIZE} \u2026 ${i * ExpressionContainer.CHUNK_SIZE + chunkSize - 1}`;
const chunkName = `[${i * ExpressionContainer.CHUNK_SIZE}..${i * ExpressionContainer.CHUNK_SIZE + chunkSize - 1}]`;
childrenArray.push(new Variable(this, this.reference, chunkName, '', null, chunkSize, null, true, i));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册