Display stack diffs in the debugger
Clarification and motivation
When you run an instruction in debugger you want to know how it modified the current stack. So let's show this information (i. e. the exact diff).
Acceptance criteria
Debugger somehow displays stack diff after you run an instruction or a sequence of instructions. In case of large sequences probably some limit should be applied.
For example if the stack is 0 5
and you do ADD
the debugger should show either:
-
removed 0
OR -
removed 0, removed 5, added 5
– more detailed.
I suppose in some cases we want these details, in some we don't, so consider making it configurable (whether to collapse details). Though if you don't succeed in implementing the detailed version it will be fine as well.