24 ms·
> Ghost / Replay This is harder than it seems. However I have seen vscode users use `rr` recordings to even step backwards from a breakpoint. But it is gdb-bas
by kodablah 2y ago
> Ghost / Replay
This is harder than it seems. However I have seen vscode users use `rr` recordings to even step backwards from a breakpoint. But it is gdb-based (i.e. not very platform independent) and is not displayed in a "ghost" like manner which would be neat. I think the first step is for runtimes to get better at recording replays.
- matsemann 2y agoI often do it somewhat in Java code, by dropping the current frame/stack, and then going into it again fresh. As long as most code is written without sideeffects, it's very powerful for fast iteration combined with hot swapping code changes.