I am developing a iOS application and experiencing a crash. I cannot debug it because I need a serial communication implement that takes the place of the Apple connector. I have managed to generate a stack trace at the instance of failure:
0 - 0 Flashtool_iPad 0x0003d8c1 SignalHandler + 152
1 - 1 libsystem_c.dylib 0x3c0fee93 _sigtramp + 42
2 - 2 libsystem_c.dylib 0x3c12283d __sfvwrite + 352
3 - 3 Flashtool_iPad 0x00041811 -[ProgrammingLogic execute_programming_procedure] + 716
4 - 4 Flashtool_iPad 0x0003e86f __52-[ProgramViewController programController:forEvent:]_block_invoke + 54
5 - 5 libdispatch.dylib 0x3c09811f <redacted> + 10
6 - 6 libdispatch.dylib 0x3c09becf <redacted> + 142
7 - 7 libdispatch.dylib 0x3c09bdc1 <redacted> + 40
8 - 8 libdispatch.dylib 0x3c09c91d <redacted> + 184
9 - 9 libdispatch.dylib 0x3c09cac1 <redacted> + 84
10 - 10 libsystem_c.dylib 0x3c0cca11 <redacted> + 360
11 - 11 libsystem_c.dylib 0x3c0cc8a4 start_wqthread + 8
but unfortunately, the forth line indicating where the actual failure happened ( 3 - 3 Flashtool_iPad 0x00041811 -[ProgrammingLogic execute_programming_procedure] + 716
) points to a comment in the objective C code...this statement: 4 - 4 Flashtool_iPad 0x0003e86f __52-[ProgramViewController programController:forEvent:]_block_invoke + 54
actually appears on line 48 of the source - not 54 ! So where does the offset come from? Thanks in advance
偏移量不是行,而是机器代码中函数开头的字节。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.