Skip to content

Debug memory view #82

Description

@RedmanPlus

Create a memory view in debug mode displaying allocations and relations on the stack at the end of the execution.

The expected view should look like this:

Total memory: ... bytes
----------------
0x1234 |               <--- Stack begins here
---------------- 
0x1235 | 34      a: int
---------------- 
0x1236 | 35      b: int
---------------- 
0x1237 | 5       x: int  -|
----------------          |-> x1: Point
0x1238 | 6       y: int  -|
---------------- 
0x1239 | 2       x: int  -|
----------------          |-> Point <-----|
0x123A | 3       y: int  -|               | points here...
----------------                          |
0x123B | 4       x: int  -|               |
----------------          |-> Point <---------|
0x123C | 5       y: int  -|               |   | points here...
----------------                          |   |
0x123D | 0x1239  a: Pointer<Point> -------|   |  -|
----------------                              |   |-> a1: Line
0x123E | 0x123B  b: Pointer<Point> -----------|  -|
---------------- 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions