The best flags for emergency landfills

I currently have some code that will crash when the application crashes, but I cannot decide which ones are better to use.

I am currently using Full Memory (MiniDumpWithFullMemory), but this creates 32 megahertz files. What flags should be used to not make the crash file huge, but bring me the most out of it when you start debugging it?

More information on flags can be found at: http://www.debuginfo.com/articles/effminidumps.html

+4
source share
2 answers

This is not always such a general answer. The desired flags will depend on what you are trying to accomplish or what you can search for.

Perhaps you have thread problems, MiniDumpWithThreadInfo or MiniDumpWithProcessThreadData would be appropriate. If your program corrupts its data in memory, then MiniDumpWithFullMemory can be selected.

From my own applications, full memory is not always very useful - I will get what I need from PEB or TEB structures or only from stream stack traces.

Also, see the checkboxes listed in the section of the site you are attached to: http://www.debuginfo.com/articles/effminidumps2.html#strategies

+2
source

Minidumps shrink tightly - I would recommend pinning it to help with size

+1
source

All Articles