Public Types | |
enum | FileNameParts { IncludeProcessID = 0x01, IncludeThreadID = 0x02, IncludeTimestamp = 0x04, IncludeSequenceNumber = 0x10, IncludeFileVersion = 0x20, IncludeAll = 0xFF } |
enum | DumpTypes { MiniDump, MaxiDump, FullDump } |
Public Member Functions | |
CMiniDumper (DumpTypes defaultDumpType=MiniDump, FileNameParts fileNameParts=IncludeAll) | |
CMiniDumper (const Core::_tstring &outputPath, DumpTypes defaultDumpType=MiniDump, FileNameParts fileNameParts=IncludeAll) | |
CMiniDumper (const Core::_tstring &outputPath, const Core::_tstring &fileNameRoot, DumpTypes defaultDumpType=MiniDump, FileNameParts fileNameParts=IncludeAll) | |
CMiniDumper (const CMiniDumper &rhs) | |
~CMiniDumper () override | |
CMiniDumper & | operator= (const CMiniDumper &rhs) |
bool | CanDump () const |
int | GetVersion () const |
Core::_tstring | GenerateDumpFileName () const |
Core::_tstring | GenerateDumpFileName (const Core::_tstring &type) const |
bool | CreateMiniDump (EXCEPTION_POINTERS *pExceptionPointers=nullptr) const |
bool | CreateMiniDump (const Core::_tstring &type, EXCEPTION_POINTERS *pExceptionPointers=nullptr) const |
bool | CreateMiniDumpWithFileName (const Core::_tstring &fileName, EXCEPTION_POINTERS *pExceptionPointers=nullptr) const |
bool | CreateMiniDump (HANDLE processHandle, DWORD processId, EXCEPTION_POINTERS &exceptionPointers) const |
bool | CreateMiniDump (HANDLE processHandle, DWORD processId, const Core::_tstring &type, EXCEPTION_POINTERS &exceptionPointers) const |
bool | CreateMiniDumpWithFileName (HANDLE processHandle, DWORD processId, const Core::_tstring &fileName, EXCEPTION_POINTERS &exceptionPointers) const |
void | AddRequiredModule (const Core::_tstring &moduleName) |
bool | CreateMaxiDump (EXCEPTION_POINTERS *pExceptionPointers=nullptr) const |
bool | CreateMaxiDump (const Core::_tstring &type, EXCEPTION_POINTERS *pExceptionPointers=nullptr) const |
bool | CreateMaxiDumpWithFileName (const Core::_tstring &fileName, EXCEPTION_POINTERS *pExceptionPointers=nullptr) const |
bool | CreateFullDump (EXCEPTION_POINTERS *pExceptionPointers=nullptr) const |
bool | CreateFullDump (const Core::_tstring &type, EXCEPTION_POINTERS *pExceptionPointers=nullptr) const |
bool | CreateFullDumpWithFileName (const Core::_tstring &fileName, EXCEPTION_POINTERS *pExceptionPointers=nullptr) const |
Core::_tstring | GetDumpBaseName (const Core::_tstring &type) override |
Core::_tstring | GenerateDumpFileName (const Core::_tstring &type) override |
bool | CreateDump (EXCEPTION_POINTERS *pExceptionPointers=nullptr) override |
bool | CreateDump (const Core::_tstring &fileName, EXCEPTION_POINTERS *pExceptionPointers=nullptr) override |
Protected Types | |
enum | MINIDUMP_TYPE { MiniDumpNormal = 0x00000000, MiniDumpWithDataSegs = 0x00000001, MiniDumpWithFullMemory = 0x00000002, MiniDumpWithHandleData = 0x00000004, MiniDumpFilterMemory = 0x00000008, MiniDumpScanMemory = 0x00000010, MiniDumpWithUnloadedModules = 0x00000020, MiniDumpWithIndirectlyReferencedMemory = 0x00000040, MiniDumpFilterModulePaths = 0x00000080, MiniDumpWithProcessThreadData = 0x00000100, MiniDumpWithPrivateReadWriteMemory = 0x00000200, MiniDumpWithoutOptionalData = 0x00000400, MiniDumpWithFullMemoryInfo = 0x00000800, MiniDumpWithThreadInfo = 0x00001000, MiniDumpWithCodeSegs = 0x00002000, MiniDumpWithoutAuxiliaryState = 0x00004000, MiniDumpWithFullAuxiliaryState = 0x00008000, MiniDumpWithPrivateWriteCopyMemory = 0x00010000, MiniDumpIgnoreInaccessibleMemory = 0x00020000, MiniDumpWithTokenInformation = 0x00040000, MiniDumpValidTypeFlags = 0x0007ffff } |
Protected Member Functions | |
bool | CreateDump (int type, HANDLE hProcess, DWORD processId, const Core::_tstring &fileName, EXCEPTION_POINTERS *pExceptionPointers, MINIDUMP_TYPE dumpType, bool useCallback=false, ULONG_PTR callbackData=0, PMINIDUMP_USER_STREAM_INFORMATION pUserStreamParam=nullptr) const |
virtual bool | CreateDumpHere (int type, const Core::_tstring &fileName, EXCEPTION_POINTERS *pExceptionPointers, bool &dumped) const |
bool | CreateDump (HANDLE hProcess, DWORD processId, HANDLE hFile, MINIDUMP_TYPE dumpType, PMINIDUMP_EXCEPTION_INFORMATION pExceptionParam, bool useCallback=false, ULONG_PTR callbackData=0, PMINIDUMP_USER_STREAM_INFORMATION pUserStreamParam=nullptr) const |
enum FileNameParts |
enum DumpTypes |
enum MINIDUMP_TYPE [protected] |
CMiniDumper | ( | DumpTypes | defaultDumpType = MiniDump , |
|
FileNameParts | fileNameParts = IncludeAll | |||
) | [explicit] |
CMiniDumper | ( | const Core::_tstring & | outputPath, | |
DumpTypes | defaultDumpType = MiniDump , |
|||
FileNameParts | fileNameParts = IncludeAll | |||
) | [explicit] |
CMiniDumper | ( | const Core::_tstring & | outputPath, | |
const Core::_tstring & | fileNameRoot, | |||
DumpTypes | defaultDumpType = MiniDump , |
|||
FileNameParts | fileNameParts = IncludeAll | |||
) |
CMiniDumper | ( | const CMiniDumper & | rhs | ) |
~CMiniDumper | ( | ) | [override] |
CMiniDumper& operator= | ( | const CMiniDumper & | rhs | ) |
bool CanDump | ( | ) | const |
int GetVersion | ( | ) | const |
_tstring GenerateDumpFileName | ( | ) | const |
Core::_tstring GenerateDumpFileName | ( | const Core::_tstring & | type | ) | const |
bool CreateMiniDump | ( | EXCEPTION_POINTERS * | pExceptionPointers = nullptr |
) | const |
bool CreateMiniDump | ( | const Core::_tstring & | type, | |
EXCEPTION_POINTERS * | pExceptionPointers = nullptr | |||
) | const |
bool CreateMiniDumpWithFileName | ( | const Core::_tstring & | fileName, | |
EXCEPTION_POINTERS * | pExceptionPointers = nullptr | |||
) | const |
bool CreateMiniDump | ( | HANDLE | processHandle, | |
DWORD | processId, | |||
EXCEPTION_POINTERS & | exceptionPointers | |||
) | const |
bool CreateMiniDump | ( | HANDLE | processHandle, | |
DWORD | processId, | |||
const Core::_tstring & | type, | |||
EXCEPTION_POINTERS & | exceptionPointers | |||
) | const |
bool CreateMiniDumpWithFileName | ( | HANDLE | processHandle, | |
DWORD | processId, | |||
const Core::_tstring & | fileName, | |||
EXCEPTION_POINTERS & | exceptionPointers | |||
) | const |
void AddRequiredModule | ( | const Core::_tstring & | moduleName | ) |
bool CreateMaxiDump | ( | EXCEPTION_POINTERS * | pExceptionPointers = nullptr |
) | const |
bool CreateMaxiDump | ( | const Core::_tstring & | type, | |
EXCEPTION_POINTERS * | pExceptionPointers = nullptr | |||
) | const |
bool CreateMaxiDumpWithFileName | ( | const Core::_tstring & | fileName, | |
EXCEPTION_POINTERS * | pExceptionPointers = nullptr | |||
) | const |
bool CreateFullDump | ( | EXCEPTION_POINTERS * | pExceptionPointers = nullptr |
) | const |
bool CreateFullDump | ( | const Core::_tstring & | type, | |
EXCEPTION_POINTERS * | pExceptionPointers = nullptr | |||
) | const |
bool CreateFullDumpWithFileName | ( | const Core::_tstring & | fileName, | |
EXCEPTION_POINTERS * | pExceptionPointers = nullptr | |||
) | const |
Core::_tstring GetDumpBaseName | ( | const Core::_tstring & | type | ) | [override, virtual] |
Implements ICreateMiniDumps.
Core::_tstring GenerateDumpFileName | ( | const Core::_tstring & | type | ) | [override, virtual] |
Implements ICreateMiniDumps.
bool CreateDump | ( | EXCEPTION_POINTERS * | pExceptionPointers = nullptr |
) | [override, virtual] |
Implements ICreateMiniDumps.
bool CreateDump | ( | const Core::_tstring & | fileName, | |
EXCEPTION_POINTERS * | pExceptionPointers = nullptr | |||
) | [override, virtual] |
Implements ICreateMiniDumps.
bool CreateDump | ( | int | type, | |
HANDLE | hProcess, | |||
DWORD | processId, | |||
const Core::_tstring & | fileName, | |||
EXCEPTION_POINTERS * | pExceptionPointers, | |||
MINIDUMP_TYPE | dumpType, | |||
bool | useCallback = false , |
|||
ULONG_PTR | callbackData = 0 , |
|||
PMINIDUMP_USER_STREAM_INFORMATION | pUserStreamParam = nullptr | |||
) | const [protected] |
virtual bool CreateDumpHere | ( | int | type, | |
const Core::_tstring & | fileName, | |||
EXCEPTION_POINTERS * | pExceptionPointers, | |||
bool & | dumped | |||
) | const [protected, virtual] |
bool CreateDump | ( | HANDLE | hProcess, | |
DWORD | processId, | |||
HANDLE | hFile, | |||
MINIDUMP_TYPE | dumpType, | |||
PMINIDUMP_EXCEPTION_INFORMATION | pExceptionParam, | |||
bool | useCallback = false , |
|||
ULONG_PTR | callbackData = 0 , |
|||
PMINIDUMP_USER_STREAM_INFORMATION | pUserStreamParam = nullptr | |||
) | const [protected] |