使 OSX 崩溃报告窗口静音
我有一个 python 应用程序,它使用编译的共享库。由于某种原因,每次应用程序抛出异常时,该库都会因段错误而崩溃。 OSX 以某种方式捕获段错误并显示报告崩溃窗口。我怎样才能一劳永逸地关闭这个窗口呢?
I have a python application which uses a compiled shared library. This library for some reason crashes with a segfault every time the app throws an exception. OSX catches the segfault somehow and shows a report crash window. How can I shut off this window once and for all ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以全局禁用崩溃报告器,但我认为没有办法在本地禁用它。该网站有详细信息: http://hints.macworld.com/article.php?story =20091230100541242。基本上,如果安装了 XCode,则可以使用 /Developer/Applications/Utilities/CrashReporterPrefs。否则,您可以使用命令行
来完全禁用它。
You can disable the crash reporter globally, but I don't think there is a way to disable it locally. This web site has details: http://hints.macworld.com/article.php?story=20091230100541242. Basically, you can use /Developer/Applications/Utilities/CrashReporterPrefs if you have XCode installed. Otherwise, you can use the command line
To disable it entirely.