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

  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.
8 Likes