调试.xccrashpoint [英] Debugging .xccrashpoint
问题描述
我在Xcode的管理器上有一些日志,但我不知道如何正确调试它们。我在
无论如何都知道错误信息(正如我们在以前的崩溃报告中收到的那样)?
我最近也偶然发现了这一点。帮助我的原因是:
- 右键点击崩溃 - >在查找器中显示
- 复制.xccrashpoint文件某处
- 将文件扩展名从.xccrashpoint重命名为.crash
- 现在Finder将其视为文件夹,您可以浏览到。你需要的崩溃文件
然后你需要象征崩溃。有几种方法可以做到这一点,但最简单的方法是:
- 打开窗口 - > xCode中的设备面板
- 点击设备(我必须插入iPad) - >打开设备日志
- 将.crash文件拖放到那里
- 按日期排序,找到你的崩溃,现在崩溃已经被象征化了
I've got some logs on Xcode's Organizer but I don't know how to properly debug them. I've read Apple Documentation at Apple Documentation by it doesn't tells me where the error/crash message is. It's hard to debug if you don't know what has caused it. When I try to open each log in Finder, it opens a .xccrashpoint file, not a standard crash log.
Is there anyway to know the error message (as we received on previous crash reports)?
I have stumbled on this recently too. What helped me was:
- right click on the crash -> show in finder
- copy the .xccrashpoint file somewhere
- rename the file extension from .xccrashpoint to .crash
- now Finder sees it as a folder and you can browse to the .crash file you need
Then you need to symbolicate the crash. There are several ways to do this, but the easiest I know is to:
- open Window -> Devices panel in xCode
- Click on the device (I had to plug in iPad) -> open device logs
- drag and drop the .crash file there
- sort by date, find your crash, the crash is now symbolicated
这篇关于调试.xccrashpoint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!