Hacker News new | ask | show | jobs
by hoten 841 days ago
I work on a game engine (see profile) - I added a input recording/replay system that tracks a hash for each graphics frame for regression testing. We have ~17M frames of tests (80 hours of real playtime), and when something fails it generates a custom HTML report[1] where you can navigate the failing frames and some frames before/after for context. It's just graphical, so if the error isn't obvious you must delve into a debugger (and maybe wait ~10m for the engine to reach that point...), so I'd love to get something more powerful to assist in debugging.

rerun looks very interesting, I'll check it out to improve our debugging, thanks for sharing!

[1]

https://hoten.cc/tmp/compare-report-example/ , an artificial failure where I commented out the player drawing code

https://hoten.cc/tmp/compare-report-screen-draw-refactor/ , a report for reviewing a subtle refactor and intentional modification of the drawing order