錯誤代碼如下,非日常開發(fā)獲取到的,這類bug隱藏很深。 Application received signal SIGSEGV
(null)
( 0 CoreFoundation 0x33e2c2bb <redacted> + 186
1 libobjc.A.dylib 0x34cea97f objc_exception_throw + 30
2 CoreFoundation 0x33e2c1c5 <redacted> + 0
3 shoot 0x000e4659 shoot + 890457
4 libsystem_c.dylib 0x3648ce8b _sigtramp + 34
5 shoot 0x0008e7a9 shoot + 538537
6 UIKit 0x3b6599c5 <redacted> + 1308
7 UIKit 0x3b65949f <redacted> + 274
8 UIKit 0x3b5efab3 <redacted> + 158
9 UIKit 0x3b6648cf <redacted> + 50
10 QuartzCore 0x3ac1abd9 <redacted> + 208
11 libdispatch.dylib 0x3641b4b7 <redacted> + 22
12 libdispatch.dylib 0x3641cdcb <redacted> + 226
13 CoreFoundation 0x33dfff3b <redacted> + 1290
14 CoreFoundation 0x33d72ebd CFRunLoopRunSpecific + 356
15 CoreFoundation 0x33d72d49 CFRunLoopRunInMode + 104
16 GraphicsServices 0x3bb702eb GSEventRunModal + 74
17 UIKit 0x3b62e2f9 UIApplicationMain + 1120
18 shoot 0x0000db97 shoot + 11159
19 shoot 0x0000db50 shoot + 11088)
1 回答

慕斯709654
TA貢獻(xiàn)1840條經(jīng)驗 獲得超5個贊
這錯誤列表,debug 斷點,首先你add exception breakpoint,加入斷點調(diào)試,可以找到代碼發(fā)生錯誤的位置。
然后信號的類型就兩種:1,SIGABRT 2,EXC_BAD_ACCESS(SIGSEGV)要么就是過度release 要么就是unrecogized selector。
- 1 回答
- 0 關(guān)注
- 150 瀏覽
添加回答
舉報
0/150
提交
取消