How to debug the unreal engine code in my own project

I can’t switch to the source code file where the unreal engine functions are, what configuration do I need to change to get this to work, thanks

Which configuration are you in? Ideally you should be in DevelopmentEditor or DebugEditor as things get optimised away depending on the configuration level.

The debug configuration is used. After reading some articles, it is suggested to try to recompile ue

I think when you install you have the option to install the debug files so you can debug into engine. At least, that’s how it worked a long time ago.

Before that option was there, I think Epic provided downloads of the pdb files

If this is something you find yourself needing to do on the reg, it might be a good idea to build your engine from source, then you’ll have everything. And if you have to make fixes in the engine, you can do that too

1 Like

When installing the engine, tick the “Editor symbols for debugging” checkbox. Though keep in mind that this is an additional 60+ GB in install size.

2 Likes