习惯了Windbg,准备用Windbg替代Vistual Studio的VSJitDebugger.exe来做Postmortem Debugger。但尝试了下面两种办法都没有成功:
- 1, Windbg –I (设Windbg为默认的debugger应对Unhandled User Mode Exceptions)
- 2, 直接改注册表:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
直到在http://msdn.microsoft.com/en-us/library/ff542967.aspx里才看到,64位系统里对64位和32位程序有不同的设置:
1, A failing 64-bit application will be debugged according to the settings stored in the \\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AeDebug key.
2, A failing 32-bit application will be debugged according to the settings stored in the \\HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug key. However, if the Debugger value in this key specifies an application in the %windir%\system32 directory, Windows will look in %windir%\syswow64 instead.
将两处的AeDebug都设成Windbg后,分别对64位和32程序进行测试,Windbg被加载并成功attach到问题进程上。
D:\Documents> type AeDebug-Windbg.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
"UserDebuggerHotKey"=dword:00000000
"Debugger"="\"C:\\Program Files\\Debugging Tools for Windows (x64)\\windbg.exe\" -p %ld -e %ld -g"
"Auto"="1"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\AutoExclusionList]
"DWM.exe"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug]
"UserDebuggerHotKey"=dword:00000000
"Debugger"="\"C:\\Program Files\\Debugging Tools for Windows (x64)\\windbg.exe\" -p %ld -e %ld -g"
"Auto"="1"[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\AutoExclusionList]
"DWM.exe"=dword:00000001
In its most typical definition, monetary stability means the stability of key financial establishments and financial markets, and does not in any manner rule out bankruptcy on the a part of individual financial institution in addition to severe fluctuations in asset values.
There, he turned aghast at the mortality fee of recent mothers in a specific ward.
HFT clearly shows how carefully programmed super computers can trigger excellent trades to humans.
The U.S. Department of Justice also hosts Web sites that allow you to report Internet fraud and e-mail scams.
1. Issues can have a number of solutions.
Can pastel goth hoodies help me specific my personal model?
On which, there being all over the place, as may be imagined, terror and consternation, the Archons summoned a common meeting, and there brought within the man and questioned him how he got here to know.
Nonetheless, on paleographical grounds the inscription has been dated to about 600 by Burgess, to 450-500 A.D.
Nonetheless, within the near future, as an alternative of shopping for a devoted printer, it is more possible you will invest in a multi-perform printer (MFP) that also scans and faxes in addition to printing.
Good shout.
пенсиЯ фсб расчЮт
Кто делал уничтожение постельных клопов холодным туманом? Эффективно ли?
дезинсекция