如何阻止windbg成为交互式调试器? [英] How do I stop windbg from being the interactive debugger?

查看:35
本文介绍了如何阻止windbg成为交互式调试器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 vista/win7 上撤消 windbg -I 的正确方法是什么?

What is the proper way to undo windbg -I on vista/win7?

删除HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug中的注册表键那么简单吗?

Is it as simple as deleting the registry keys in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug?

推荐答案

您不需要删除整个注册表项.删除 Debugger 值就足够了.

You don't need to delete the entire registry key. Deleting the Debugger value is enough.

发生异常时,系统首先查看是否有注册的调试器.如果是这样,它只是启动指定的命令行.否则,它会调用 Windows 错误报告来收集故障转储.Windbg -I 所做的只是更改 AeDebug 键中注册的调试器值.

When an exception occurs, the system first looks to see if there is a debugger registered. If so, it just launches the command line specified. Otherwise, it invokes Windows Error Reporting to collect the crash dump. All Windbg -I does is change the registered debugger value in the AeDebug key.

这篇关于如何阻止windbg成为交互式调试器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆