未解決の例外をデバッグするのに役立つミニダンプを作成するようにします。MINIDUMP_TYPE列挙値の組み合わせによって、最も完全なミニダンプが得られますか?
ダンプが作成されるまで、どのタイプのミニダンプが必要かわからない場合がありますので、できるだけ完全なダンプを与えるにはどのような組み合わせのMINIDUMP_TYPEを使用しますか?
未解決の例外をデバッグするのに役立つミニダンプを作成するようにします。MINIDUMP_TYPE列挙値の組み合わせによって、最も完全なミニダンプが得られますか?
ダンプが作成されるまで、どのタイプのミニダンプが必要かわからない場合がありますので、できるだけ完全なダンプを与えるにはどのような組み合わせのMINIDUMP_TYPEを使用しますか?
私はDebugInfo.comリンク(Davidに感謝します)とMSDNページの助けを借りて、次のリストを思いつきました。すべてのフラグがDebugInfo.comリンクでカバーされているわけではありません。
これらのフラグを使用すると、包括的ですが大きなミニダンプを作成する必要があります。
を含める:
MiniDumpWithFullMemory - the contents of every readable page in the process address space is included in the dump.
MiniDumpWithHandleData - includes info about all handles in the process handle table.
MiniDumpWithThreadInfo - includes thread times, start address and affinity.
MiniDumpWithProcessThreadData - includes contents of process and thread environment blocks.
MiniDumpWithFullMemoryInfo - includes info on virtual memory layout.
MiniDumpWithUnloadedModules - includes info from recently unloaded modules if supported by OS.
MiniDumpWithFullAuxiliaryState - requests that aux data providers include their state in the dump.
MiniDumpIgnoreInaccessibleMemory - ignore memory read failures.
MiniDumpWithTokenInformation - includes security token related data.
は除外:
MiniDumpNormal - value is 0 so always implicitly present, unless excluded by a callback (which I won't be doing).
MiniDumpWithPrivateReadWriteMemory - excludes contents of shared memory.
MiniDumpWithIndirectlyReferencedMemory - includes memory pages referenced by pointers on the stack, but assuming MiniDumpWithFullMemory already includes all pages in the process address space anyway.
MiniDumpWithDataSegs - contents of writable data sections are already included by specifying MiniDumpWithFullMemory
MiniDumpWithCodeSegs - assuming MiniDumpWithFullMemory includes this.
MiniDumpWihtoutOptionalData - suppresses all memory operations other that MiniDumpNormal.
MiniDumpFilterMemory - filters out contents of stack memory (also has no effect if MiniDumpWithFullMemory used).
MiniDumpFilterModulePaths - removes module paths from the dump.
MiniDumpScanMemory - used to exclude memory for specific modules via callbacks.
MiniDumpWithPrivateWriteCopyMemory - assume MiniDumpWithFullMemory already includes this.
Effective minidumps at DebugInfo.comの解説は、あなたを解決策に導くように見えます。
を私は考えられるが、説明の一部は、紛争に思われます。例えば; MiniDumpFilterModulePathsの記述には特別な状況でのみ使用され、MiniDumpNormalにはスタックトレースをキャプチャするために必要な情報が含まれていると言われています。 – sackoverflow
@user、OK、私の編集はあなたに魅力的ですか? –