# Vs2019 symbols not found for my project?

**URL:** <https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525>\
**Category:** C++\
**Tags:** Debugging, unreal-engine, question, CPP\
**Created:** [July 1, 2020, 10:19pm UTC](https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525 "2020-07-01T22:19:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e10a6464](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e10a6464](https://forums.unrealengine.com/u/anonymous_user_e10a6464)\
**Post date:** [July 1, 2020, 10:19pm UTC](https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525/1 "2020-07-01T22:19:30Z")

</div>

I’m using “DebugGame Editor” build. The file exists “Binaries\Win64\UE4Editor-HeroQuest-Win64-DebugGame.pdb”. But when I attach to process and try to set a C++ breakpoint in my C++ code, I get “No symbols have been loaded for this document”.

Update: I can even set breakpoints in the UE4 engine code, but not in my own UE4 project.

Update: I tried reinstalling ue 4.25.1, repairing vs2019, and doing a fresh git clone of my project, but no luck. My teammate is able to set breakpoints, so it’s not an issue with our game’s git repo I guess.

---

<div class="post-metadata">

**Author:** ![jigism](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jigism](https://forums.unrealengine.com/u/jigism)\
**Post date:** [May 9, 2021, 10:54pm UTC](https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525/2 "2021-05-09T22:54:42Z")

</div>

Thanks for the hint with the pdb file location. The fix for me was to run the debugger as you did, and then in VS go to Debug \> Windows \> Modules, and look for my project dll (UE4Editor-YourProject-Wing64-DebugGame.dll), right-click on it select load symbols, and manually select the pdb file.

I think the source of the issue has something to do with my project being in a mounted folder (I mapped an older drive to C:\Slowdrive and put my UE project there). When I was in the debug modules window I saw that some where located in C:\SlowDrive… and some were in \Device\HarddiskVolume5…, so I think the build is getting confused between the two.

I followed the instructions [here](https://docs.microsoft.com/en-us/visualstudio/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger?view=vs-2019#manage-symbols-while-debugging)

---

<div class="post-metadata">

**Author:** ![Wojtt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wojtt](https://forums.unrealengine.com/u/Wojtt)\
**Post date:** [June 29, 2022, 10:58am UTC](https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525/3 "2022-06-29T10:58:34Z")

</div>

In my case, it helped when I deleted Intermediate, Saved, .vs, Binaries folders and then regeneraged VS project files and recompiled.

---

<div class="post-metadata">

**Author:** ![UPO33](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UPO33](https://forums.unrealengine.com/u/UPO33)\
**Post date:** [March 16, 2023, 11:36pm UTC](https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525/4 "2023-03-16T23:36:15Z")

</div>

had same problem , UE5.1 ! PIE was ok but Attach To Process did not load project’s PDBs at all.

- removed intermediate, saved, binaries, …
- removed GameplayDebugger and some other plugins from .uproject and .Build.cs
- removed recently installed Rust compiler toolchain
- restarted my PC and waited a little to cooldown  
finally worked but I don’t know how.

---

<div class="post-metadata">

**Author:** ![Pieter.Wycoff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pieter.Wycoff](https://forums.unrealengine.com/u/Pieter.Wycoff)\
**Post date:** [March 27, 2023, 11:39pm UTC](https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525/5 "2023-03-27T23:39:36Z")

</div>

my solution to this was outlined in this post: [Increase the Number of Modules Loaded When Attaching the Debugger](https://forums.unrealengine.com/t/increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624)

---

<div class="post-metadata">

**Author:** ![DentonJC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DentonJC](https://forums.unrealengine.com/u/DentonJC)\
**Post date:** [July 12, 2023, 6:51pm UTC](https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525/6 "2023-07-12T18:51:30Z")

</div>

just FYI, you don’t normally need to run the editor in Debug mode. It will slow to a crawl. Maybe useful if you are deep in the engine debugging stuff, but normally Development Editor is plenty for daily use. If you want to exclude a particular file from optimization so you can set breakpoints anywhere, wrap the cpp file with #pragma optimize like so:

#pragma optimize(“”, off)

#include “AMyActor.Generated.h”

AMyActor::AMyActor(){}

#pragma optimize(“”, on)

---

<div class="post-metadata">

**Author:** ![Fortron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fortron](https://forums.unrealengine.com/u/Fortron)\
**Post date:** [June 1, 2025, 11:34pm UTC](https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525/7 "2025-06-01T23:34:42Z")

</div>

In my case, it was variables set in my Target.cs that were messing with the pdb;  
Setting them to false resolved the issue of visual studio taking over 20 seconds to load data after hitting a breakpoint and hitting breakpoints in ther debuggers (raddbg).

```
    bUseIncrementalLinking = false;
    bUseFastPDBLinking = false;

```
