fatal error: unexpectedly found nil while unwrapping an Optional value 我無法看到,因爲過去的「從調試信息」的崩潰行: Message from debugger: The LLDB RPC server has crashed. Please file a bug with Apple with the crash log.
我定義了一個名爲jspatch這樣的新LLDB命令: command regex jspatch 's/(.+)/p (id)[JPEngine evaluateScript:@"%1"]/'
此命令接受一個字符串作爲參數。 但我不能執行這樣的命令? jspatch 'var a = 10
var b = 20
a = a + b'
,我會在evaluateScript:'var a