如何阻止windbg成为交互式调试器?

时间:2023-01-15 07:11:51

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

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

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

是否像删除HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ AeDebug中的注册表项一样简单?

1 个解决方案

#1


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

您不需要删除整个注册表项。删除调试器值就足够了。

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.

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

#1


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

您不需要删除整个注册表项。删除调试器值就足够了。

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.

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