开发者

WINDBG: Display dump file capture flags

开发者 https://www.devze.com 2023-04-07 16:50 出处:网络
This is a very quick question. I searched and can\'t seem to find the windbg command that would show what options exist in a minidump file.

This is a very quick question. I searched and can't seem to find the windbg command that would show what options exist in a minidump file.

Additionally, I would like to get back the equivalent argument to the .dump command that would generate the same type of开发者_如何学Go minidump, for example .dump /ma.


.dumpdebug will give you the flags that the mini-dump was created with. For example:

0:000> .dumpdebug
----- User Mini Dump Analysis

MINIDUMP_HEADER:
Version         A793 (6C02)
NumberOfStreams 11
Flags           1806
                0002 MiniDumpWithFullMemory
                0004 MiniDumpWithHandleData
                0800 MiniDumpWithFullMemoryInfo
                1000 MiniDumpWithThreadInfo

It will also spew lots of other information, so just be patient and then scroll back to the top :)

-scott


When you first open a dump usually the 4th line of text will be something like this:

User Mini Dump File with Full Memory: Only application data is available

or

User Mini Dump File: Only registers, stack and portions of memory are available

This will obviously change depending upon what the options were.

0

精彩评论

暂无评论...
验证码 换一张
取 消