它在windbg.chm和命令提示符中都有记录并可用-?
注:我在控制台模式的CDB上使用它,而不是在windbg上。
windbg -? , -h , --help , /? , -B#llCr@p
所有东西都应该弹出debugger.chm(在17763年就坏了,但检查一下说是14951)。
C:\>cdb -? | grep -i dump
-openPrivateDumpByHandle <HANDLE>
specifies the handle of a crash dump file to debug
-z <CrashDmpFile> specifies the name of a crash dump file to debug
-zd <CrashDmpFile> specifies the name of a crash dump file to debugand
deletes that crash dump after the debugger has finished
crash dump
C:\>
请求创建转储
C:\>cdb -c ".dump /ma dominidumpi.dmp;q" cdb
Microsoft (R) Windows Debugger Version 10.0.17763.132 X86
ntdll!LdrpDoDebuggerBreak+0x2c:
774a05a6 cc int 3
0:000> cdb: Reading initial command '.dump /ma dominidumpi.dmp;q'
Creating dominidumpi.dmp - mini user dump
Dump successfully written
quit:
在垃圾堆里装东西然后离开
C:\>cdb -c "lm;q" -z dominidumpi.dmp
Microsoft (R) Windows Debugger Version 10.0.17763.132 X86
Loading Dump File [C:\dominidumpi.dmp]
User Mini Dump File with Full Memory: Only application data is available
ntdll!LdrpDoDebuggerBreak+0x2c:
774a05a6 cc int 3
0:000> cdb: Reading initial command 'lm;q'
start end module name
01250000 01278000 cdb (deferred)
5b360000 5b4ef000 dbghelp (deferred)
5b4f0000 5b5cc000 ucrtbase (deferred)
5b5d0000 5bbac000 dbgeng (deferred)
77400000 7753c000 ntdll (pdb symbols) xxx\ntdll.pdb
775a0000 775aa000 lpk (deferred)
quit:
C:\>