Debug Unreal Header Tool

What “Solution Configuration” should I use in order to debug the Unreal Header Tool?

UnrealHeaderTool, but this may be difficult, due to amount of command parameters used to generate the headers.

The ‘easiest’ way to do this is to use VS JIT debugger.
Please install “Debugging Tools for Windows”. Then find a tool called ‘Global Flags’.(C:\Programs\WindowsSDK\Debuggers\x64\gflags.exe)

Launch it. You will see something like this.

Type ‘unrealheadertool.exe’ in the image field and press TAB to refresh, next type ‘vsjitdebugger.exe’ in the debugger field.

Next time you run UHT you will see something like this.
You don’t need to worry about passing all the required parameters, all is done :slight_smile:


To remove the behavior, just repeat the steps inside Global Flags and uncheck the debugger box.

Maybe I didn’t make myself clear. I want to debug this tool from Visual Studio to see how it works (i’m not trying to fix anything), but if I try to set a breakpoint in any of the files of this project as soon as I start debugging the Unreal Editor the breakpoint gets disabled, because symbols aren’t being loaded. So I don’t know what “Solution Configuration” I need to select in order to accomplish this. Do I really have no other option than using the JIT debugger?

UnrealHeaderTool, Debug, Win64.
First parameter may be UE4Game or path to the ShooterGame.uproject

Thank you. I’ll give it a try tonight!