【发布时间】:2011-01-24 11:29:19
【问题描述】:
这是我感兴趣的崩溃日志部分:
1 TEST_iPhone_App 0x00043ff2 -[TSClassName methodName] (TSClassName.m:86)
免得说方法看起来像这样:
- (void) methodName {
// Some code...
[self otherMethod]; // This is line #86
// Some more code...
}
- (void) otherMethod {
// Dubious code... could the crash be here?
}
我的问题是,崩溃日志是否可能引用otherMethod?也许otherMethod被内联了,它无法区分这两种方法之间的区别,或者绝对参考methodName中的代码
编辑:我查看了第 86 行,它是对 otherMethod 的调用。这是否意味着实例被另一个线程释放,因此消息self 导致错误?或者错误仍然存在于otherMethod?
【问题讨论】:
标签: iphone crash crash-reports