randomPoison / gunship-rs

An experimental game engine written in Rust.
MIT License
27 stars 3 forks source link

Hotloading Doesn't Work With Visual Studio Debugging #59

Closed randomPoison closed 8 years ago

randomPoison commented 8 years ago

More specifically, you can't recompile the game when visual studio is attached for debugging because Visual Studio takes control of the PDB and the linker fails because it can't overwrite it. I'm pretty sure the solution here is to have the loader also make a copy of the PDB, in which case VS should grab the copy and leave the original free to be overwritten. I know Casey Muratori dealt with this issue in Handmade Hero, so we can check the videos where he first implements hotloading to see how he solves the problem.

randomPoison commented 8 years ago

This issue is quite a bit outdated because hotloading as a whole has been broken for a while. The plan is to redo hotloading in a more robust manner down the line, so this issue will have to be revisited once I start on the new system.