习惯了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
1win retragere card bancar 1win retragere card bancar
1win cod promotional nu functioneaza 1win cod promotional nu functioneaza
1win slots 1win5750.help
vavada dostęp mimo blokady https://vavada30759.help
мелбет о деньги мелбет о деньги
mostbet ограничения аккаунта http://mostbet54173.help
1win cum folosesc free bet http://www.1win47381.help
мостбет купон https://mostbet41926.help
мелбет верификация киргизия https://melbet51738.help/
1win пополнение Optima Bank http://1win96781.help
1win USDT depozit 1win USDT depozit
melbet регистрация киргизия http://melbet51738.help
мостбет Джалал-Абад мостбет Джалал-Абад
1win Oʻzbekiston kirish http://www.1win5750.help
1win yutuqni yechish 1win yutuqni yechish
1win veyjer nima http://www.1win5750.help
1win быстрый вывод на элсом http://1win96781.help/
мостбет промокод Киргизия мостбет промокод Киргизия
1win descarcare android 1win descarcare android
мостбет фрибет Кыргызстан mostbet54173.help
1вин plinko https://www.1win96781.help
1win Oʻzbekistonda to‘lov 1win Oʻzbekistonda to‘lov
1win update ios http://www.1win47381.help
1вин актуальное зеркало Кыргызстан http://1win96781.help
sloturi pe 1win http://1win47381.help/
1win cum joc aviator pe 1win http://www.1win47381.help
лечение алкоголизма лечение алкоголизма .
1win VPN pentru 1win http://1win47381.help
pin up Payme depozit http://www.pinup87630.help
mostbet kirish app https://mostbet82059.help
1вин логин 1вин логин
1win Ош расмий сайт http://1win96781.help
mostbet ставки на футбол Кыргызстан http://www.mostbet54173.help
1win bonus faollashtirish http://www.1win5750.help
1win слоты на реальные деньги https://www.1win96781.help
мостбет скачать в Кыргызстане мостбет скачать в Кыргызстане
Хороший разбор SEO-услуг от ITB Company. Автор подробно останавливается на важности технической оптимизации, пользовательского опыта и локального SEO для Екатеринбурга. Отдельно понравился блок про контент-стратегию — почему полезные статьи работают лучше простого перечисления ключей. Вот ссылка: https://sah-zx.ru/stati/kak-seo-prodvizhenie-s-itb-company-pomogaet-biznesu-ekaterinburga-rasti/
лечение алкоголизма лечение алкоголизма .
мостбет пополнение KGS карта http://www.mostbet54173.help
Hi there i am kavin, its my first occasion to commenting anywhere, when i read this paragraph i thought i could also create comment due to this good post.
Timothy Malmros Genach
Hi to every body, it’s my first pay a quick visit of this blog; this blog carries remarkable and really excellent material in favor of visitors.
Timothy Malmros Genach
1win blackjack 1win5750.help
This is really interesting, You are an excessively professional blogger. I’ve joined your feed and stay up for seeking more of your fantastic post. Additionally, I’ve shared your web site in my social networks
Timothy Malmros Genach
мелбет отмена вывода https://melbet51738.help/
bonus de bun venit 1win https://www.1win47381.help
melbet правила http://melbet51738.help
мелбет мобильная версия http://melbet51738.help
1win bonus 2026 1win bonus 2026
1win pariuri Republica Moldova 1win pariuri Republica Moldova
Can I just say what a relief to find somebody that genuinely knows what they are talking about on the net. You definitely realize how to bring a problem to light and make it important. A lot more people really need to look at this and understand this side of your story. I can’t believe you are not more popular because you surely possess the gift.
https://mir-akb.com.ua/kholodnyi-rozbir-far-tekhnolohiya-znyattya.html