Terminal Tips: Disable annoying application crash dialogs

defaults write com.apple.CrashReporter DialogType noneThis will disable the "...unexpectedly quit" dialog that normally appears when an application crashes. If you ever want the dialogs to start appearing again, just replace "none" with "prompt".
Like tips like these? Try out TUAW's Mac 101 and Terminal Tips sections.
Share
Categories
Don't you hate it when an application becomes unresponsive and crashes? Are you even more tired of reading annoying application crash...
Add a Comment
If you click the 'report' option, you can sometimes get a clue about why the app died by looking at the generated stack trace.
This applies whether the app if from Apple or not. You don't have to actually send the report.
And even if it's not an Apple program that crashed, it might be due to an Apple bug, so it might still be worth submitting.
Is it possible to set the default to send the crash report?
August 28 2008 at 4:10 PM Report abuse Permalink rate up rate down ReplyI want the crash reports for filing bugs, but I don't want to see the dialogs. There are three modes, basic, developer, and server. I always use server.
defaults write com.apple.CrashReporter DialogType
where represents one of the three operating modes: basic, developer, server
http://developer.apple.com/technotes/tn2004/tn2123.html
Basic â This is the default mode, described earlier.
Developer â This mode is designed for software developers. In this mode CrashReporter will display a more detailed crash report dialog in more cases. Figure 4 shows an example of the first CrashReporter dialog when running in Developer mode.
Server â This mode is designed for unattended servers. The CrashReporter user interface is never shown, although crash logs are still written to disk.
Oh, whoops. Formatting rules messed up what I wrote.
defaults write com.apple.CrashReporter DialogType MODE
where MODE represents one of the three operating modes: basic, developer, server
Those crash reports help fix bugs. Either send them or never whine/bitch/moan about bugs in your OS or Apps again. Asses.
August 28 2008 at 2:02 PM Report abuse Permalink rate up rate down ReplyIt doesn't help a third-party dev fix bugs in their app when all their crash reports are just being fired off into a black hle anyway. I just wish I could selectively re-enable crash reporting for specific apps.
If you have Xcode installed, you can use the CrashReporterPrefs applications to choose among the three options. It's in Developer/Applications/Utilities/.
August 28 2008 at 1:50 PM Report abuse Permalink rate up rate down ReplyI much prefer that dialog to the OS 9 days of apps suddenly not running anymore or freezing the entire machine (with the former leading to the latter if you didn't do a full reboot afterwards). Now at least I know what happened and I can make some snarky comments while I report it.
August 28 2008 at 1:48 PM Report abuse Permalink rate up rate down ReplyI used to make snarky comments... but then I realised that there's probably no way on earth that anyone reads those things... unless you're like John Mayer or something...
August 28 2008 at 1:51 PM Report abuse Permalink rate up rate down ReplyYup, resuming Parallels caused a Kernel Panic again... What was I doing at the time? You needed to ask? *points finger*
"Windows did it."
Thank you so much I hate that damned dialog. Helpful maybe 2% of the times. Is there a trick to get rid of the one that pops up when you open a downloaded app/file ?
August 28 2008 at 1:35 PM Report abuse Permalink rate up rate down Replyhttp://www.macosxhints.com/article.php?story=20071029151619619
there isn't really a good way at this point.
i do remember another way, that involved making a .plist that you set up allowance's for certain data types though.
defaults write com.apple.CrashReporter DialogType developer
^ sometimes useful for seeing if a particular plugin is causing a crash
I actually like these dialog boxes, at least for Apple apps. It allows me to send them the crash report. For non-Apple apps, I don't need them. Too bad I can't differentiate them for enabling/disabling the boxes.
August 28 2008 at 1:26 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
- Philips wOOx Alarm Clock Radio for Apple iPod / iPhone for $60 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



14 Comments