Can lldb execute a command with argument contain a unescaped return char?
问题 I define a new lldb command named jspatch like this: command regex jspatch 's/(.+)/p (id)[JPEngine evaluateScript:@"%1"]/' This command accept a string as argument. But I can't execute a command like this? jspatch 'var a = 10 var b = 20 a = a + b' I just get 'var a = 10 in evaluateScript: . But I cant pass it a string contain unescaped return char, anyone has a solution for this? 回答1: That won't work given the way the lldb command interpreter is set up. An unescaped return currently always