我在iPhone 4上发生了崩溃,其异常类型为EXC_GUARD.我无法通过谷歌(只有1个结果)或在stackoverflow上找到有关此特定异常的任何信息.它是什么?
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-10-24 14:29:53.740 -0700
OS Version: iOS 6.0 (10A403)
Report Version: 104
Exception Type: EXC_GUARD
Exception Codes: 0x0000000100000010, 0x08fd4dbfade2dead
Crashed Thread: 0
Thread 0 name: MAIN Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x32f25294 close + 8
1 Twine 0x00230b8e close_file + 10
2 Twine 0x00218774 -[TFAirTrafficController startSession] + 752
3 Twine 0x002169fa +[TestFlight takeOff:] + 122
Run Code Online (Sandbox Code Playgroud) 我在iOS模拟器中的lldb调试器中,我有一个块的地址.我想尝试执行它.我尝试了第一个想到的东西(见下文),但它没有用.有没有办法做到这一点?
(lldb) po 0x2c7140
(int) $2 = 2912576 <__NSGlobalBlock__: 0x2c7140>
(lldb) po 0x2c7140(NO, @"Test")
error: called object type 'int' is not a function or function pointer
Run Code Online (Sandbox Code Playgroud)
我也试过电话,但显然这不是llvm的命令?它在gdb中可用.
(lldb) call (void)0x2c7140(NO, @"Test")
error: 'call' is not a valid command.
Run Code Online (Sandbox Code Playgroud)
我刚才意识到第一次尝试无论如何都会失败,因为po无法使用void返回值,但问题仍然存在......