MiniDumpType Enumeration

Specifies the type of MiniDump information to be generated.

For MiniDumpWriteDump(IntPtr, Int32, SafeHandle, MiniDumpType, MiniDumpExceptionInformation, IntPtr, IntPtr) function.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum MiniDumpType

Remarks

Members

Normal 0 Include just the information necessary to capture stack traces for all existing threads in a process.
WithDataSegs 1 Include the data sections from all loaded modules.

This results in the inclusion of global variables, which can make the minidump file significantly larger.

For per-module control, use the MODULE_WRITE_FLAGS.ModuleWriteDataSeg value.

WithFullMemory 2 Include all accessible memory in the process.

The raw memory data is included at the end, so that the initial structures can be mapped directly without the raw memory information.

This option can result in a very large file.

WithHandleData 4 Include high-level information about the operating system handles that are active when the minidump is made.
FilterMemory 8 Stack and backing store memory written to the minidump file should be filtered to remove all but the pointer values necessary to reconstruct a stack trace.
ScanMemory 16 Stack and backing store memory should be scanned for pointer references to modules in the module list.

If a module is referenced by stack or backing store memory, the MINIDUMP_CALLBACK_OUTPUT.ModuleWriteFlags member is set to MODULE_WRITE_FLAGS.ModuleReferencedByMemory.

WithUnloadedModules 32 Include information from the list of modules that were recently unloaded, if this information is maintained by the operating system.

DbgHelp 5.1: This value is not supported.

WithIndirectlyReferencedMemory 64 Include pages with data referenced by locals or other stack memory.

This option can increase the size of the minidump file significantly.

DbgHelp 5.1: This value is not supported.

FilterModulePaths 128 Filter module paths for information such as user names or important directories.

This option may prevent the system from locating the image file and should be used only in special situations.

DbgHelp 5.1: This value is not supported.

WithProcessThreadData 256 Include complete per-process and per-thread information from the operating system.

DbgHelp 5.1: This value is not supported.

WithPrivateReadWriteMemory 512 Scan the virtual address space for ReadWrite memory to be included.

DbgHelp 5.1: This value is not supported.

WithoutOptionalData 1,024 Reduce the data that is dumped by eliminating memory regions that are not essential to meet criteria specified for the dump.

This can avoid dumping memory that may contain data that is private to the user. However, it is not a guarantee that no private information will be present.

DbgHelp 6.1 and earlier: This value is not supported.

WithFullMemoryInfo 2,048 Include memory region information.

DbgHelp 6.1 and earlier: This value is not supported.

WithThreadInfo 4,096 Include thread state information.

DbgHelp 6.1 and earlier: This value is not supported.

WithCodeSegs 8,192 Include all code and code-related sections from loaded modules to capture executable content.

For per-module control, use the MODULE_WRITE_FLAGS.ModuleWriteCodeSegs value.

DbgHelp 6.1 and earlier: This value is not supported.

WithoutAuxiliaryState 16,384 Turns off secondary auxiliary-supported memory gathering.
WithFullAuxiliaryState 32,768 Requests that auxiliary data providers include their state in the dump image; the state data that is included is provider dependent.

This option can result in a large dump image.

WithPrivateWriteCopyMemory 65,536 Scans the virtual address space for WriteCopy memory to be included.

Prior to DbgHelp 6.1: This value is not supported.

IgnoreInaccessibleMemory 131,072 If you specify WithFullMemory, the MiniDumpWriteDump(IntPtr, Int32, SafeHandle, MiniDumpType, MiniDumpExceptionInformation, IntPtr, IntPtr) function will fail if the function cannot read the memory regions; however, if you include IgnoreInaccessibleMemory, the MiniDumpWriteDump(IntPtr, Int32, SafeHandle, MiniDumpType, MiniDumpExceptionInformation, IntPtr, IntPtr) function will ignore the memory read failures and continue to generate the dump.

Note that the inaccessible memory regions are not included in the dump.

Prior to DbgHelp 6.1: This value is not supported.

ValidTypeFlags 262,143 Indicates which flags are valid.
MiniDumpWithTokenInformation 262,144 Adds security token related data.

This will make the "!token" extension work when processing a user-mode dump.

Prior to DbgHelp 6.1: This value is not supported.

MiniDumpWithModuleHeaders 524,288 Adds module header related data.

Prior to DbgHelp 6.1: This value is not supported.

MiniDumpFilterTriage 1,048,576 Adds filter triage related data.

Prior to DbgHelp 6.1: This value is not supported.

MiniDumpWithAvxXStateContext 2,097,152

Prior to DbgHelp 6.1: This value is not supported.

See Also