2011-10-13 87 views
0

我不知道如何解释堆栈跟踪控制台输出为我的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 
+0

试着往回走在你最近改变,intil错误消失 –

回答

1

代码执行从下到上(wikipedia)。没有看到任何代码就很困难。你在一个特定的指数增加了tableViewRow和失败:

[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] 
[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] 
[UITableView insertRowsAtIndexPaths:withRowAnimation:] 

,也许你在一个无效的索引或不存在的部分添加行。

+0

因为是钛,堆栈跟踪是基于代码不写,但产生的点点还原这一点。他可以显示一些JavaScript,虽然,但通常它是未知的,其中来自 –

+0

附带的错误确实,但somethimes这是一个暗示了该错误可能会被定位.. – mkind

+0

感谢您的答复。当我看到十六进制和Obj-C方法遍布各处时,我的大脑就会锁定。还不完全是这样。 –