如何分析友盟上给出的错误分析(stack trace)?

我的程序在友盟上有错误报告,如下:

Application received signal SIGABRT
(null)
(
	0   CoreFoundation                      0x32fe22bb  + 186
	1   libobjc.A.dylib                     0x33ea097f objc_exception_throw + 30
	2   CoreFoundation                      0x32fe21c5  + 0
	3   Dragon Zuma HD                      0x00241b71 Dragon Zuma HD + 2001777
	4   libsystem_c.dylib                   0x35642e8b _sigtramp + 34
	5   libsystem_c.dylib                   0x35639123 pthread_kill + 58
	6   libsystem_c.dylib                   0x35675973 abort + 94
	7   libc++abi.dylib                     0x33056d4f  + 74
	8   libc++abi.dylib                     0x330540db  + 174
	9   libc++abi.dylib                     0x33054114  + 19
	10  libc++abi.dylib                     0x33055599 __cxa_current_exception_type + 0
	11  libobjc.A.dylib                     0x33ea09d1 objc_exception_rethrow + 12
	12  CoreFoundation                      0x32f28f21 CFRunLoopRunSpecific + 456
	13  CoreFoundation                      0x32f28d49 CFRunLoopRunInMode + 104
	14  GraphicsServices                    0x3ad262eb GSEventRunModal + 74
	15  UIKit                               0x3a7e42f9 UIApplicationMain + 1120
	16  Dragon Zuma HD                      0x000a7943 Dragon Zuma HD + 321859
	17  Dragon Zuma HD                      0x0005bb00 Dragon Zuma HD + 11008
)

 我该怎样定位到具体是哪出错呢?我的程序Bundle name是Dragon Zuma HD。该如何将错误日志导入到xcode中查看具体的问题呢?

 

步骤:

1)在实用工具里打开终端,一直用cd命令打开,找到你开发包对应的文件Dragon Zuma HD.app.dSYM,一般是这样~/Library/Developer/XCode/Archives/YYYY-MM-DD/Dragon Zuma HD.app.dSYM

2)用cd打开您打包时间对应的开发包,一般名字是类似这样:Dragon Zuma HD 13-4-20 下午3.53.xcarchive

3)然后继续用cd命令打开,找到DEARF文件,一般是Contents/Resources/DWARF

4)输入atos -arch armv7 -o Dragon Zuma HD 0x00241b71,看输出结果

5)输入atos -arch armv7 -o Dragon Zuma HD 0x000a7943,看输出结果

6)输入atos -arch armv7 -o Dragon Zuma HD 0x0005bb00,看输出结果

你可能感兴趣的:(stack)