Skip to content
Permalink
Browse files

Modified Windows 64 bit crash dump file name

  • Loading branch information...
ccw808 committed Jul 31, 2019
1 parent fad4684 commit b241962d3b8a24a67c41ccb64921589148e7eaab
Showing with 4 additions and 0 deletions.
  1. +4 −0 Server/core/CCrashHandler.cpp
@@ -229,6 +229,10 @@ void CCrashHandler::DumpMiniDump(_EXCEPTION_POINTERS* pException, CExceptionInfo
if (strModuleName.length() == 0)
strModuleName = "unknown";

#ifdef _WIN64
strModuleName += "64";
#endif

SString strFilename("server_%s_%s_%08x_%x_%04d%02d%02d_%02d%02d.dmp", MTA_DM_BUILDTAG_LONG, strModuleName.c_str(),
pExceptionInformation->GetAddressModuleOffset(), pExceptionInformation->GetCode() & 0xffff, SystemTime.wYear, SystemTime.wMonth,
SystemTime.wDay, SystemTime.wHour, SystemTime.wMinute);

0 comments on commit b241962

Please sign in to comment.
You can’t perform that action at this time.