# Knowledge Base: Increase the Number of Modules Loaded When Attaching the Debugger

**URL:** <https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine\
**Created:** [October 3, 2022, 5:12pm UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624 "2022-10-03T17:12:12Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Epic\_ELT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/epic_elt/32/1203695_2.png) [@Epic\_ELT](https://forums.unrealengine.com/u/Epic_ELT)\
**Post date:** [October 3, 2022, 5:12pm UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/1 "2022-10-03T17:12:12Z")

</div>

Increase the Number of Modules Loaded When Attaching the Debugger  
Article written by Martin S  
Debuggers on Windows are limited to loading the symbols for 500 modules when attaching to a running process. Unreal based pr…  
  
[https://dev.epicgames.com/community/learning/knowledge-base/l740/unreal-engine-increase-the-number-of-modules-loaded-when-attaching-the-debugger](https://dev.epicgames.com/community/learning/knowledge-base/l740/unreal-engine-increase-the-number-of-modules-loaded-when-attaching-the-debugger)

---

<div class="post-metadata">

**Author:** ![bottae](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bottae](https://forums.unrealengine.com/u/bottae)\
**Post date:** [December 18, 2022, 8:33pm UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/2 "2022-12-18T20:33:09Z")

</div>

wow, Finally I found solution, Thanks a Lot !

---

<div class="post-metadata">

**Author:** ![JACKTO\_DEV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JACKTO\_DEV](https://forums.unrealengine.com/u/JACKTO_DEV)\
**Post date:** [January 10, 2023, 5:37am UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/3 "2023-01-10T05:37:12Z")

</div>

Thank you very much. Your reply solved the problem. This was one of the worst problems in my development life that was very difficult to determine the cause.

---

<div class="post-metadata">

**Author:** ![Tihbz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tihbz/32/1192386_2.png) [@Tihbz](https://forums.unrealengine.com/u/Tihbz)\
**Post date:** [March 15, 2023, 12:28am UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/4 "2023-03-15T00:28:29Z")

</div>

Thank you so much! It works for me!

---

<div class="post-metadata">

**Author:** ![eblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eblade](https://forums.unrealengine.com/u/eblade)\
**Post date:** [March 15, 2023, 4:39am UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/5 "2023-03-15T04:39:35Z")

</div>

OMG, I had no idea how to even describe this problem to find a solution. Just ran into this thread totally on accident. Thank you!

---

<div class="post-metadata">

**Author:** ![D.Shchepetkov](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/d.shchepetkov/32/467366_2.png) [@D.Shchepetkov](https://forums.unrealengine.com/u/D.Shchepetkov)\
**Post date:** [April 10, 2023, 12:59pm UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/6 "2023-04-10T12:59:12Z")

</div>

1. Press the Windows key + R to open the Run dialog box.
2. Type “regedit” and press Enter to open the Registry Editor.
3. In the Registry Editor, navigate to “HKEY\_LOCAL\_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager”.
4. Right-click on the “Session Manager” key and select New → DWORD (32-bit) Value.
5. Name the new value “DebuggerMaxModuleMsgs”.
6. Double-click on the new value to open the Edit DWORD (32-bit) Value dialog box.
7. In the Value data field, enter the value “2048” and click OK.
8. Close the Registry Editor and restart your computer for the changes to take effect.

---

<div class="post-metadata">

**Author:** ![eblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eblade](https://forums.unrealengine.com/u/eblade)\
**Post date:** [April 12, 2023, 6:42am UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/7 "2023-04-12T06:42:40Z")

</div>

fwiw, this did not help me at all ☹

---

<div class="post-metadata">

**Author:** ![D.Shchepetkov](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/d.shchepetkov/32/467366_2.png) [@D.Shchepetkov](https://forums.unrealengine.com/u/D.Shchepetkov)\
**Post date:** [June 22, 2023, 5:26pm UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/8 "2023-06-22T17:26:06Z")

</div>

Hi, try to select a solution configuration “Debug Game” in VS.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/4/b74d74a8558d2780b29105ed8690300f3f734e9a.png)

---

<div class="post-metadata">

**Author:** ![Snipe3000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Snipe3000](https://forums.unrealengine.com/u/Snipe3000)\
**Post date:** [October 2, 2023, 7:22am UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/9 "2023-10-02T07:22:35Z")

</div>

Looks like the current solutions don’t work anymore. Anyone else still haveing this issue with Rider?

---

<div class="post-metadata">

**Author:** ![TomG\_Sandfall](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tomg_sandfall/32/1008648_2.png) [@TomG\_Sandfall](https://forums.unrealengine.com/u/TomG_Sandfall)\
**Post date:** [October 23, 2023, 1:39pm UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/10 "2023-10-23T13:39:47Z")

</div>

Somehow I recently had to redo this change in the registry + reboot my machine, and all the modules were properly loading again in VS 🙂

---

<div class="post-metadata">

**Author:** ![Kafumanto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kafumanto/32/1194651_2.png) [@Kafumanto](https://forums.unrealengine.com/u/Kafumanto)\
**Post date:** [November 24, 2023, 11:49am UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/11 "2023-11-24T11:49:25Z")

</div>

Just a small note that could help others: after you created the registry key, you must reboot the machine.

The Windows kernel read the key only on startup. This was explained in the Microsoft KB 953490: [https://web.archive.org/web/20100121111745/http://support.microsoft.com/kb/953490](https://web.archive.org/web/20100121111745/http://support.microsoft.com/kb/953490)

---

<div class="post-metadata">

**Author:** ![flymonkey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@flymonkey](https://forums.unrealengine.com/u/flymonkey)\
**Post date:** [January 15, 2024, 4:28pm UTC](https://forums.unrealengine.com/t/knowledge-base-increase-the-number-of-modules-loaded-when-attaching-the-debugger/661624/12 "2024-01-15T16:28:58Z")

</div>

Oh, it’s work, thank very much
