mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
feat: add minidump writer
This commit is contained in:
parent
a585c3f1af
commit
805a887f2e
14 changed files with 477 additions and 12 deletions
15
Dalamud.Boot/crashhandler_shared.h
Normal file
15
Dalamud.Boot/crashhandler_shared.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#include "windows.h"
|
||||
|
||||
struct exception_info
|
||||
{
|
||||
void* ExceptionPointers; // Cannot dereference!
|
||||
DWORD ThreadId;
|
||||
DWORD ProcessId;
|
||||
BOOL DoFullDump;
|
||||
wchar_t DumpPath[1000];
|
||||
};
|
||||
|
||||
constexpr wchar_t SHARED_INFO_FILE_NAME[] = L"DalamudCrashInfoShare";
|
||||
constexpr wchar_t CRASHDUMP_EVENT_NAME[] = L"Global\\DalamudRequestWriteDump";
|
||||
Loading…
Add table
Add a link
Reference in a new issue