# Is it possible to debug engine code without building from source?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-debug-engine-code-without-building-from-source/639720>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 2, 2022, 9:30am UTC](https://forums.unrealengine.com/t/is-it-possible-to-debug-engine-code-without-building-from-source/639720 "2022-09-02T09:30:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dBugSlayer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dBugSlayer](https://forums.unrealengine.com/u/dBugSlayer)\
**Post date:** [August 13, 2024, 9:21pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-debug-engine-code-without-building-from-source/639720/6 "2024-08-13T21:21:05Z")

</div>

Answering my own question about Xcode breakpoints not working, you have to configure the remappings in your .dSYM files. The tutorial below does an amazing job in stating the problem and walking you through on how to solve it.

The tl;dr is that you have to generate .plist files that map the build source files where the engine was compiled in and the source files that are in your machine.

> **[Use the (engine) source, Luke! | Jason Tu](https://jasont.co/debug-unreal-on-mac/)**
>
> On how to set up debug symbols for Unreal Engine C++ on Macs

This other thread also talks about the same issue:

> [@Debugging on macOS, using dSYM files provided by UE4 installer](https://forums.unrealengine.com/t/debugging-on-macos-using-dsym-files-provided-by-ue4-installer/152009/4):
>
> So my question - does it all make sense? And what is the right approach? Yes, it does. This is the right approach as the symbols were built on a different machine from which you’re debugging Unreal in. So lldb is unable to resolve the breakpoints when using absolute file paths. Therefore, a mapping between the building source path and the source path on your machine needs to be created. After reading your post, I eventually ran into the tutorial below, which goes in more details into how it …

---

_[View the full topic](https://forums.unrealengine.com/t/is-it-possible-to-debug-engine-code-without-building-from-source/639720)._
