如何获得详细的 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
...