How do I disable “(Program) Has Stopped Working” d

2019-02-08 06:44发布

问题:

I'm new to using Windows 7 on a development machine, and 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”