1
我有一個應用程序已經在AppStore的,和我重寫此方法:iOS堆棧跟蹤錯誤行號?
void onUncaughtException(NSException* exception){
[H trackUserWithExceptionDescription:exception.description AndDetails:[exception.callStackSymbols description]];
}
正如你看到我送的所有錯誤,我的服務器的數據庫。
現在,我有表格與異常描述和stacksymbol。
問題是如何確定發生錯誤的代碼行?
這是我的數據庫行的樣本
異常名稱:
*** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]
和堆棧跟蹤:
(
0 CoreFoundation 0x261bb14f <redacted> + 150
1 libobjc.A.dylib 0x34592c77 objc_exception_throw + 38
2 CoreFoundation 0x260cd217 <redacted> + 178
3 TickerChart 0x000edd01 TickerChart + 105729
4 TickerChart 0x000ed635 TickerChart + 103989
5 TickerChart 0x0011384d TickerChart + 260173
6 TickerChart 0x001135c9 TickerChart + 259529
7 TickerChart 0x000f90d5 TickerChart + 151765
8 Foundation 0x26efa235 __NSFireTimer + 64
9 CoreFoundation 0x2618115f <redacted> + 14
10 CoreFoundation 0x26180ce1 <redacted> + 656
11 CoreFoundation 0x2617ef4b <redacted> + 1418
12 CoreFoundation 0x260ca9a1 CFRunLoopRunSpecific + 476
13 CoreFoundation 0x260ca7b3 CFRunLoopRunInMode + 106
14 GraphicsServices 0x2d85a1a9 GSEventRunModal + 136
15 UIKit 0x29855695 UIApplicationMain + 1440
16 TickerChart 0x000fb8ab TickerChart + 161963
17 libdyld.dylib 0x34b3aaaf <redacted> + 2
)
好了,我已經做到了。 但我不是要求在Xcode中調試應用程序! 我有我的數據庫在服務器上的這些錯誤,我需要知道它發生的確切位置。 –
哦,我不知道那麼,對不起:) –
沒關係,沒關係:) –