如何为OS X Apps标记PLCrashReports

时间:2012-05-01 22:34:07

标签: macos symbolicate plcrashreporter

我已将PLCrashReporter添加到我的OS X应用程序中,并成功将故障转储保存到服务器。但是,即使.pg和.dSYM与plcrashutil和崩溃文件位于同一目录中,plcrashutil似乎也没有象征性。

我还尝试按照TN 2123中的说明使用gdb获取地址,但无法为崩溃文件中报告的符号提供源代码行。

1 个答案:

答案 0 :(得分:3)

plcrashutil没有符号,它只是以标准格式创建崩溃文件。您需要使用Xcode中的symbolicatecrash.pl来表示报告。

有一个修补版本的symbolicatecrash.pl,修复了一些错误,可在此处找到:https://github.com/TheRealKerni/QuincyKit/tree/develop/server/local

请注意,PLCrashReporter目前在Intel 64Bit架构上无法正常工作!

但是,与HockeyApp合作,PLCrashReporter开发人员正在开发支持64Bit的新版本。请参阅http://www.mikeash.com/pyblog/friday-qa-2012-04-27-plcrashreporter-and-unwinding-the-stack-with-dwarf.htmlhttp://www.hockeyapp.net/blog/2012/4/27/mac-os-x-sandbox-support-is-coming.html