diff --git a/src/vm/oogavm-heap.ts b/src/vm/oogavm-heap.ts index 80217d7..dea9413 100644 --- a/src/vm/oogavm-heap.ts +++ b/src/vm/oogavm-heap.ts @@ -1002,6 +1002,8 @@ export function getHeapJSON(): any { case Tag.STACK: heapItem['previous'] = getPrevStackAddress(curr); heapItem['entry'] = peekStack(curr); + heapItem['value'] = peekStack(curr); + heapItem['children'] = [getPrevStackAddress(curr), peekStack(curr)]; break; case Tag.ENVIRONMENT: for (let i = 0; i < getSize(curr) - headerSize; i++) {