WARDuino icon indicating copy to clipboard operation
WARDuino copied to clipboard

🚀 Add checkpointing policy

Open MaartenS11 opened this issue 6 months ago • 0 comments

Adds a snapshot policy that doesn't take snapshots at every instruction but every x instructions and at primitive calls (for reversibility). Because the debugger has to know when these snapshots were taken in relation to each other it will also report how many instructions were executed since the last checkpoint was made. A checkpoint is also made when the vm is paused so that you know how many instructions were executed after the last checkpoint and so the debugger know the current execution state.

Also removes the duplicate interpret function we have had in our codebase since the interpreter became a class.

Currently based on a reversible primitives branch, will rebase on main later.

MaartenS11 avatar Aug 26 '24 15:08 MaartenS11