Disable WerFault.exe/“Application Has Stopped Working” crash dialog

半腔热情 提交于 2019-11-29 11:08:09

问题


I have a development tool that's crashing on launch, and I don't get to see any error messages it throws, or get a chance to debug it, because it shows the Windows 7 dialog for crashed programs, where it says "Windows is checking for a solution..."

I want to have my old school big ass assert dialog box back, with a big "DEBUG" button. I have JIT completely enabled in Visual Studio's options and settings, so I'm not sure why I'm not getting the option.


回答1:


This blog post on raymond.cc contains an expanded version of the steps suggested in Krzysztof John's answer.

Quote:

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.

Read More: https://www.raymond.cc/blog/disable-program-has-stopped-working-error-dialog-in-windows-server-2008/




回答2:


Use Regedit, navigate to the below path: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\DontShowUI] Create a DWORD and set the value to 1.




回答3:


control panel -> troubleshooting -> change settings




回答4:


In my case this solved same problem: Control Panel\All Control Panel Items\Action Center\Problem Reporting Settings set to "never check for solutions"




回答5:


On my old Windows Vista Home Basic install, the option is hidden in a completely different place beneath the control panel:

Control Panel → Classic View → Problem Reports and Solutions → Change Settings → Advanced Settings → “For my programs, problem reporting is: [×] Off”



来源:https://stackoverflow.com/questions/2875518/disable-werfault-exe-application-has-stopped-working-crash-dialog

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!