如何从可可崩溃报告中获取调用堆栈符号名称
当我收到崩溃报告时,它不会像以前那样向我显示导致崩溃的函数。这是来自 OSX 桌面应用程序。
2 com.myCompany 0x000000010018d565 0x100156000 + 226661
3 com.apple.CoreFoundation 0x00007fff88de220c __invoking___ + 140
When I get a crash report, it doesn't show me the function that caused the crash as it used to. This is from an OSX desktop app.
2 com.myCompany 0x000000010018d565 0x100156000 + 226661
3 com.apple.CoreFoundation 0x00007fff88de220c __invoking___ + 140
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以摆弄
symbolicatecrash
,或使用命令-line 工具atos
(如此处)。我在后者方面取得了更好的成功。在这两种情况下,如果二进制文件中不包含符号,则您需要创建崩溃报告的原始二进制文件及其关联的 .dSYM 文件。
You can either fiddle with
symbolicatecrash
, or use the command-line toolatos
(as described here).I've had much better success with the latter. In both cases you need the original binary that created the crash report and its associated .dSYM file if the symbols aren't included in the binary.