gpt4 book ai didi

visual-studio-2005 - 禁用WerFault.exe/“Application Has Stopped Working”崩溃对话框

转载 作者:行者123 更新时间:2023-12-03 11:50:41 25 4
gpt4 key购买 nike

我有一个开发工具,它在启动时崩溃,我看不到它抛出的任何错误消息,也没有机会对其进行调试,因为它显示了崩溃程序的Windows 7对话框,其中显示“Windows正在检查寻找解决方案...”

我想让我的老派大屁股断言对话框返回,并带有一个大的“DEBUG”按钮。我已经在Visual Studio的选项和设置中完全启用了JIT,所以我不确定为什么没有得到该选项。

enter image description here

最佳答案

This blog post on raymond.cc包含Krzysztof John's answer中建议的步骤的扩展版本。
引用:

Turn Off The Error Dialog Via The Registry

Although editing the registry manually is not recommended for average users, sometimes there isn’t a choice because something like the Group policy Editor might not be available in your version of Windows or the group policy method itself doesn’t work. This works on Windows Vista and above.

  1. Open the Registry Editor by typing regedit into the Start search box or the Win+R Run dialog.

  2. Navigate to the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting

  1. Double click the DontShowUI entry on the right and change its value to 1, then close the registry editor.

. . .

The above registry fix will turn off the popup dialog for the current user, if you want the setting to affect all users on the computer then a similar registry key needs to be created in the registry at HKEY_LOCAL_MACHINE. This key isn’t present by default so needs to be created.


阅读更多: https://www.raymond.cc/blog/disable-program-has-stopped-working-error-dialog-in-windows-server-2008/

关于visual-studio-2005 - 禁用WerFault.exe/“Application Has Stopped Working”崩溃对话框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2875518/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com