钛移动读取 iPhone 堆栈跟踪
我不知道如何解释我的 iPhone 应用程序的堆栈跟踪控制台输出。任何人都可以向我指出可以帮助我破译它的入门书或其他来源吗?这是输出,以便您可以解释错误。我也有兴趣学习如何自己阅读它们。
[ERROR] The application has crashed with an unhandled exception. Stack trace:
0 CoreFoundation 0x023a158c __exceptionPreprocess + 156
1 libobjc.A.dylib 0x024f5313 objc_exception_throw + 44
2 CoreFoundation 0x02359ef8 +[NSException raise:format:arguments:] + 136
3 Foundation 0x007063bb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
4 UIKit 0x00989e8b -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 8420
5 UIKit 0x00978d36 -[UITableView insertRowsAtIndexPaths:withRowAnimation:] + 56
6 mobiletributes-app 0x0009ef7e -[TiUITableView dispatchAction:] + 7774
7 Foundation 0x0068a94e __NSThreadPerformPerform + 251
8 CoreFoundation 0x023828ff __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
9 CoreFoundation 0x022e088b __CFRunLoopDoSources0 + 571
10 CoreFoundation 0x022dfd86 __CFRunLoopRun + 470
11 CoreFoundation 0x022df840 CFRunLoopRunSpecific + 208
12 CoreFoundation 0x022df761 CFRunLoopRunInMode + 97
13 GraphicsServices 0x041a71c4 GSEventRunModal + 217
14 GraphicsServices 0x041a7289 GSEventRun + 115
15 UIKit 0x00919c93 UIApplicationMain + 1160
16 mobiletributes-app 0x0000473a main + 410
17 mobiletributes-app 0x00003005 start + 53
I have no idea how to interpret a stack trace console output for my iPhone app. Can anyone point me to a primer or other source that would help me decipher it? Here's the output in case you can explain the error. I'm interested also in learning how to read them on my own.
[ERROR] The application has crashed with an unhandled exception. Stack trace:
0 CoreFoundation 0x023a158c __exceptionPreprocess + 156
1 libobjc.A.dylib 0x024f5313 objc_exception_throw + 44
2 CoreFoundation 0x02359ef8 +[NSException raise:format:arguments:] + 136
3 Foundation 0x007063bb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
4 UIKit 0x00989e8b -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 8420
5 UIKit 0x00978d36 -[UITableView insertRowsAtIndexPaths:withRowAnimation:] + 56
6 mobiletributes-app 0x0009ef7e -[TiUITableView dispatchAction:] + 7774
7 Foundation 0x0068a94e __NSThreadPerformPerform + 251
8 CoreFoundation 0x023828ff __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
9 CoreFoundation 0x022e088b __CFRunLoopDoSources0 + 571
10 CoreFoundation 0x022dfd86 __CFRunLoopRun + 470
11 CoreFoundation 0x022df840 CFRunLoopRunSpecific + 208
12 CoreFoundation 0x022df761 CFRunLoopRunInMode + 97
13 GraphicsServices 0x041a71c4 GSEventRunModal + 217
14 GraphicsServices 0x041a7289 GSEventRun + 115
15 UIKit 0x00919c93 UIApplicationMain + 1160
16 mobiletributes-app 0x0000473a main + 410
17 mobiletributes-app 0x00003005 start + 53
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
代码执行是从下到上的(wikipedia)。没有看到任何代码就很难了。您在特定索引处添加 tableViewRow 但失败:
也许您在无效索引处添加行或向不存在的部分添加行。
the code execution is from bottom to top (wikipedia). without seeing any code it's difficult. you're adding a tableViewRow at a specific index and it fails:
maybe you're adding a row at an invalid index or to a section that doesn't exist.