diff options
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dllmain.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp index bdee441f..9d8dc9a7 100644 --- a/NorthstarDedicatedTest/dllmain.cpp +++ b/NorthstarDedicatedTest/dllmain.cpp @@ -22,6 +22,7 @@ #include "miscserverscript.h" #include "clientauthhooks.h" #include "scriptbrowserhooks.h" +#include "memalloc.h" bool initialised = false; @@ -51,6 +52,9 @@ void WaitForDebugger(HMODULE baseAddress) // earlier waitfordebugger call than is in vanilla, just so we can debug stuff a little easier if (CommandLine()->CheckParm("-waitfordebugger")) { + spdlog::info("waiting for debugger..."); + spdlog::info("{} bytes have been statically allocated", g_iStaticAllocated); + while (!IsDebuggerPresent()) Sleep(100); } |