Handmade Hero»Forums»Code
Lenny
8 posts
Reproducing Bugs
Would it be helpful to record keyboard input to a file so that we can replay it later to reproduce bugs? We could also save various game states as well. As I've moved away from Visual Studio my current method of debugging hard to find bugs is to pinpoint the function that is causing issues and using a special printf that prints to a proxy server so I can view what function and line is being executed in real time. This is helpful if a crash occurs you will know exactly what line was last executed.
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Reproducing Bugs
We already implemented that - that is what the looped live code editing does.

- Casey