Closed pedoc closed 5 months ago
The "minidump" is already mostly full dump, the same you would get with task manager. I am adding options that would give you more control on what you would get in the dump. Would something like this meet your expectations?
switch (DumpType)
{
case PhProcessDumpTypeMinimal:
context->DumpType =
MiniDumpWithDataSegs |
MiniDumpWithUnloadedModules |
MiniDumpWithThreadInfo |
MiniDumpIgnoreInaccessibleMemory;
break;
case PhProcessDumpTypeLimited:
context->DumpType =
MiniDumpWithFullMemory |
MiniDumpWithUnloadedModules |
MiniDumpWithFullMemoryInfo |
MiniDumpWithThreadInfo |
MiniDumpIgnoreInaccessibleMemory;
default: case PhProcessDumpTypeNormal:
// task manager uses these flags (wj32)
context->DumpType =
MiniDumpWithFullMemory |
MiniDumpWithHandleData |
MiniDumpWithUnloadedModules |
MiniDumpWithFullMemoryInfo |
MiniDumpWithThreadInfo |
MiniDumpIgnoreInaccessibleMemory |
MiniDumpWithIptTrace;
break;
case PhProcessDumpTypeFull:
context->DumpType =
MiniDumpWithDataSegs |
MiniDumpWithFullMemory |
MiniDumpWithHandleData |
MiniDumpWithUnloadedModules |
MiniDumpWithIndirectlyReferencedMemory |
MiniDumpWithProcessThreadData |
MiniDumpWithPrivateReadWriteMemory |
MiniDumpWithFullMemoryInfo |
MiniDumpWithCodeSegs |
MiniDumpWithFullAuxiliaryState |
MiniDumpWithPrivateWriteCopyMemory |
MiniDumpIgnoreInaccessibleMemory |
MiniDumpWithTokenInformation |
MiniDumpWithModuleHeaders |
MiniDumpWithAvxXStateContext |
MiniDumpWithIptTrace;
break;
}
I am also adding an option specific for "System" that assists in generation of live kernel dumps:
nice,thank you
Description of the feature, modification, idea or suggestion
Hello, thank you for your great work
Currently, only a "mini dump" of the process can be created, but sometimes we want a "full dump" for program debugging
So I want to be able to have a context menu in the process list for creating a "full dump", Thanks
Current:
Proposed implementation details (optional)
No response