开发者

Disable WerFault.exe/"Application Has Stopped Working" crash dialog

开发者 https://www.devze.com 2022-12-31 23:57 出处:网络
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, whe

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, 开发者_如何学Pythonwith 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.

Disable WerFault.exe/"Application Has Stopped Working" crash dialog


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.


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/


control panel -> troubleshooting -> change settings


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


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”

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号