CJ7*_*CJ7 11 windows windows-installer crash-dumps drwatson
在Windows
环境(XP
和Win 7
)中:
MNS*_*MNS 16
在Windows上为任何/特定进程进行自动转储的最佳方法之一是在注册表中配置一组条目.我在Windows 7 64位上尝试了以下功能.
打开notepad.exe,粘贴以下条目并将其另存为"EnableDump.reg".你可以给出你想要的任何名字.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps]
"DumpFolder"=hex(2):44,00,3a,00,5c,00,64,00,75,00,6d,00,70,00,00,00
"DumpCount"=dword:00000010
"DumpType"=dword:00000002
"CustomDumpFlags"=dword:00000000
Run Code Online (Sandbox Code Playgroud)
双击"EnableDump.reg"并选择"是".我已将dump文件夹指定为'd:\ dump'.您可以将其更改为您希望的任何文件夹.
尝试执行崩溃的应用程序,Windows将显示错误对话框.选择"关闭程序"选项.之后,您将在配置的文件夹中看到转储.转储文件的名称为.exe..dmp.
有关详细信息,请参阅以下链接.
http://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx
Windows XP:以下步骤启用自动故障转储:
1) Open a command prompt, running as administrator
2) Run drwtsn32 -i. This will install Doctor Watson as the default debugger when something crashes
3) Click Ok
4) From the command prompt, run drwtsn32
5) Set the Crash Dump path to your favorite directory, or leave the default.
6) Set the Crash Dump Type to mini. Note that under some circumstances, we may ask you for a full crash dump.
7) Make sure the Dump All Thread Contexts and Create Crash Dump File options are selected.
8) Click Ok
9) If a user.dmp file already exists in the Crash Dump path, delete it.
Run Code Online (Sandbox Code Playgroud)
Windows 7:位置是:
C:\Users[Current User when app crashed]\AppData\Local\Microsoft\Windows\WER\ReportArchive
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
17624 次 |
最近记录: |