如何获取详细的iOS异常消息

时间:2013-06-13 21:11:23

标签: ios exception

如何获得详细的iOS异常描述,如下所示(我见过有几个人参考这些描述):

CALayer位置包含NaN:[2.74665e-34 nan] 2012-04-05 15:48:00.185 Infectious [28198:fb03](

0   CoreFoundation                      0x0226803e __exceptionPreprocess + 206
1   libobjc.A.dylib                     0x02820cd6 objc_exception_throw + 44
2   CoreFoundation                      0x02210a48 +[NSException raise:format:arguments:] 
3   CoreFoundation                      0x022109b9 +[NSException raise:format:] + 57
4   QuartzCore                          0x00df3c0d _ZN2CA5Layer12set_positionERKNS
5   QuartzCore                          0x00de9f55 -[CALayer setPosition:] + 68
6   QuartzCore                          0x00de9a0a -[CALayer setFrame:] + 675
7   UIKit                               0x00efbfb8 -[UIView(Geometry) setFrame:] + 198
8   UIKit                               0x010071a1 -[UILabel setFrame:] + 233

...