x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Debug Unreal Header Tool

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

Product Version: Not Selected
Tags:
more ▼

asked Mar 30 '14 at 03:49 AM in C++ Programming

avatar image

Leopoldinho
8 1 2 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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

more ▼

answered Mar 31 '14 at 12:11 PM

avatar image Leopoldinho Mar 31 '14 at 03:43 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

alt text

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 :)

alt text

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

uht.png (12.4 kB)
vsdeb.png (7.0 kB)
more ▼

answered Mar 30 '14 at 12:41 PM

avatar image Leopoldinho Mar 31 '14 at 08:18 AM

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?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question