简体   繁体   English

iPhone应用程序崩溃日志

[英]iPhone app crash logs

Can we create and get application crash log from iPhone? 我们可以从iPhone创建并获取应用程序崩溃日志吗? If yes then, is the result which we will get will be useful? 如果是,那么我们得到的结果是否有用?

Thanks, Aashutosh 谢谢,Aashutosh

If it's for your iPhone — Open Xcode, goto Window -> Organizer. 如果是用于您的iPhone,请打开Xcode,转到“窗口”->“管理器”。 From there, find your device. 从那里找到您的设备。 There should be a crash log tab. 应该有一个崩溃日志选项卡。

Connect your device to your mac and look for "Organizer" in the Xcode menu. 将设备连接到Mac,然后在Xcode菜单中查找“ Organizer”。 There you should be able to access the crash logs. 在那里您应该能够访问崩溃日志。 I did it just today but didn't find it too useful.. but see for yourself :) 我是今天才做的,但是觉得它没什么用。

There is a very good technical note about this: http://developer.apple.com/iphone/library/technotes/tn2008/tn2151.html 对此有很好的技术说明: http : //developer.apple.com/iphone/library/technotes/tn2008/tn2151.html

Crash logs may reveal you a bit why you application crashed and what it was doing just before the crash. 崩溃日志可能会向您显示您的应用程序崩溃的原因以及崩溃前的操作。 But it is much more easier to fix the bug if you can make the game crash in debug mode. 但是,如果可以使游戏在调试模式下崩溃,则更容易修复该错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM