summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/WinStackWalker.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-05-06 16:25:12 +0200
committerGitHub <noreply@github.com>2021-05-06 16:25:12 +0200
commitce8d8388d630fa936500e6843496afe113ad8bc5 (patch)
treebf48229531b01a5ca26ef2b91efbb2592e8ecf20 /src/OSSupport/WinStackWalker.cpp
parentMove item placement into item handlers (#5184) (diff)
downloadcuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar.gz
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar.bz2
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar.lz
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar.xz
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.tar.zst
cuberite-ce8d8388d630fa936500e6843496afe113ad8bc5.zip
Diffstat (limited to 'src/OSSupport/WinStackWalker.cpp')
-rw-r--r--src/OSSupport/WinStackWalker.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/OSSupport/WinStackWalker.cpp b/src/OSSupport/WinStackWalker.cpp
index 1a95b2907..a48ce07aa 100644
--- a/src/OSSupport/WinStackWalker.cpp
+++ b/src/OSSupport/WinStackWalker.cpp
@@ -1154,6 +1154,9 @@ BOOL __stdcall WinStackWalker::myReadProcMem(
void WinStackWalker::OnLoadModule(LPCSTR img, LPCSTR mod, DWORD64 baseAddr, DWORD size, DWORD result, LPCSTR symType, LPCSTR pdbName, ULONGLONG fileVersion)
{
+ /*
+ // Uncomment to be notified of loaded DLL modules.
+
char buffer[STACKWALK_MAX_NAMELEN];
if (fileVersion == 0)
{
@@ -1168,6 +1171,7 @@ void WinStackWalker::OnLoadModule(LPCSTR img, LPCSTR mod, DWORD64 baseAddr, DWOR
_snprintf_s(buffer, sizeof(buffer), "%s:%s (%p), size: %d (result: %d), SymType: '%s', PDB: '%s', fileVersion: %d.%d.%d.%d\n", img, mod, (LPVOID)baseAddr, size, result, symType, pdbName, v1, v2, v3, v4);
}
OnOutput(buffer);
+ */
}