Is it possible to Debug the UE4 code using the source code from EpicGamesLauncher?

I noticed that when installing the using the Epic Games Launcher there is an option to download the source code.

I created a simple project to perform a few tests and the entire source code is now in my VS project and I setup my project with Development Editor. When I set a breakpoint in my game code VS stops and I can check the callstack. The thing is that the Engine code is grayed out.

Is this the expected behaviour and the engine source code is there just for reference or there is a way to debug the engine code with the default Epic Games Launcher installation?

Did you check “Editor symbols for debugging” in the install options? It is easy to miss that there is a scroll-box on the installation options. If your window was small, you may not have seen the additional options.

I might have missed that. Do you know if I can install the debugging symbols for my current UE4 installation?

Also, do you know if I modify the engine code in this kind of installation, the modification will be compiled? (this is more a curiosity than a need)

I don’t know the answers to your questions in your last comment, sorry.

Now that I’m home, the answer to my first question is “Yes”. As can be seen in the picture, click in the arrow next to the “Launch” button and then “Options” to install the debug symbols.

104095-capturar.png

Hi mcleary,

Regarding your second question, if you are using the binary version of the Engine that is installed through the Launcher, the source code is only available for reference purposes. If you make any changes to the source code it will not be compiled into the Engine binaries. If you want to be able to modify the source code, you will need to download the source code for the Engine from GitHub and build the Engine yourself.

Good to know.