Cocoa:堆栈跟踪与行号不匹配,?

时间:2013-11-02 16:45:35

标签: objective-c macos cocoa

我收到了我的可可应用程序的崩溃报告。行号与我的应用程序的源代码不对应。有什么想法吗?即使此崩溃报告来自调试二进制文件? 我知道它正在崩溃的功能,但我想确定行号

下面的行表示编号5209,我的代码甚至没有这一行。我该如何将其与我的代码联系起来?

0x00000001000037b9 +[ITunesProvider getITunesMediaFiles:] + 5209

完整的痕迹是

Application Specific Information:
abort() called
*** Terminating app due to uncaught exception \'NSRangeException\', reason: \'*** -[NSArray getObjects:range:]: index (1967) beyond bounds (0)\'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x00007fff86c08784 __exceptionPreprocess + 180
    1   libobjc.A.dylib                     0x00007fff832aaf03 objc_exception_throw + 45
    2   CoreFoundation                      0x00007fff86bb3605 -[NSArray getObjects:range:] + 341
    3   CoreFoundation                      0x00007fff86c128fe -[NSArray countByEnumeratingWithState:objects:count:] + 206
    4   TestAppMac                        0x00000001000037b9 +[ITunesProvider getITunesMediaFiles:] + 5209
    5   TestAppMac                        0x000000010000913c -[AppController processFiles:] + 412
    6   Foundation                          0x00007fff8662a114 __NSThread__main__ + 1429
    7   libSystem.B.dylib                   0x00007fff84894fd6 _pthread_start + 331
    8   libSystem.B.dylib                   0x00007fff84894e89 thread_start + 13
)

0 个答案:

没有答案
相关问题