From 6ac729c2302504d755b34f692b3ed3f84ac2a82d Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 13 Feb 2017 10:06:30 +0000 Subject: [PATCH] Add a log message when dbghelp.dll is detected & callstacks are disabled --- renderdoc/os/win32/win32_callstack.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/renderdoc/os/win32/win32_callstack.cpp b/renderdoc/os/win32/win32_callstack.cpp index d0faf8c4a..56de82b28 100644 --- a/renderdoc/os/win32/win32_callstack.cpp +++ b/renderdoc/os/win32/win32_callstack.cpp @@ -142,6 +142,9 @@ static bool InitDbgHelp() // can't reliably co-exist with dbghelp already being used in the process if(GetModuleHandleA("dbghelp.dll") != NULL) { + RDCLOG( + "dbghelp.dll is already loaded, can't guarantee thread-safety against application use. " + "Callstack collection disabled"); ret = false; return false; }