在iOS中获取崩溃位置 [英] Getting crash location in iOS
本文介绍了在iOS中获取崩溃位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的应用程序崩溃,我无法追查。在我得到的日志中:
I am getting a crash in my application which I am not able to trace out. In the log I am getting :
[CFString release]:发送到解除分配的实例0xeb8a560的消息
[CFString release]: message sent to deallocated instance 0xeb8a560
即使在调试时我也无法追踪崩溃。我放置了断点并启用了NSZombie,但仍然没有帮助。有没有人知道获取崩溃的位置?
Even on debugging I could not trace out the crash. I placed breakpoints and enabled NSZombie but still not helpful. Does anyone have some idea for getting the location of crash?
推荐答案
一个字符串对象过度发布。您可以创建一个异常断点来查找崩溃的位置。您也可以尝试在GDB中使用 bt
来获取崩溃日志。
A string object over released. You can create an exception break point to find where it crashes. Also you can try using bt
in GDB to get crash log.
这链接许多技巧和提示。
这篇关于在iOS中获取崩溃位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文