|
|
@ -329,8 +329,9 @@ class WindowsServiceStopped
|
|
|
|
LONG
|
|
|
|
LONG
|
|
|
|
GenerateDump(EXCEPTION_POINTERS* pExceptionPointers)
|
|
|
|
GenerateDump(EXCEPTION_POINTERS* pExceptionPointers)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const DWORD flags = MiniDumpWithFullMemory | MiniDumpWithFullMemoryInfo | MiniDumpWithHandleData
|
|
|
|
const auto flags = (MINIDUMP_TYPE)(
|
|
|
|
| MiniDumpWithUnloadedModules | MiniDumpWithThreadInfo;
|
|
|
|
MiniDumpWithFullMemory | MiniDumpWithFullMemoryInfo | MiniDumpWithHandleData
|
|
|
|
|
|
|
|
| MiniDumpWithUnloadedModules | MiniDumpWithThreadInfo);
|
|
|
|
|
|
|
|
|
|
|
|
std::stringstream ss;
|
|
|
|
std::stringstream ss;
|
|
|
|
ss << "C:\\ProgramData\\lokinet\\crash-" << llarp::time_now_ms().count() << ".dmp";
|
|
|
|
ss << "C:\\ProgramData\\lokinet\\crash-" << llarp::time_now_ms().count() << ".dmp";
|
|
|
|