Skip to content

Commit c748051

Browse files
committed
Capture children of eval property response if they exist
1 parent 7fbd6f0 commit c748051

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/debug/debugSession.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,8 @@ export class ObjectScriptDebugSession extends LoggingDebugSession {
548548
let variablesReference: number;
549549
// if the property has children, generate a variable ID and save the property (including children) so VS Code can request them
550550
if (result.hasChildren || result.type === "array" || result.type === "object") {
551-
// variablesReference = this._variableIdCounter++;
552-
// this._evalResultProperties.set(variablesReference, result);
551+
variablesReference = this._variableIdCounter++;
552+
this._evalResultProperties.set(variablesReference, result);
553553
} else {
554554
variablesReference = 0;
555555
}

0 commit comments

Comments
 (0)