I’m hacking the Godot engine, and would like to debug some of the code I’ve written. Unfortunately, the code doesn’t run directly in the editor, so I can’t have it hit a breakpoint when I run the editor.
I’ve created a Godot project that calls the code I’ve written - however this code is running when the game starts up so I can’t just start the game and then attach the Visual Studio debugger to it. Is there any way to get Visual Studio to run my Godot project using my custom built Godot engine with debugging telemetry hooked up?
Okay, I think the problem might actually be that the debugger is not loading any symbols. How do I fix that? Building the default editor solution loads no symbols, and the target_debug configuration does not run anything. The project properties look the same for both targets anyhow, except that editor as some fields filled out for nmake while target_debug does not.
How do I get VS to load the debug symbols?
Edit:
It doesn’t seem like .pdb files are even being generated. How do I configure my project to have debugging?