Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个
" aaaaa vnnvnvnvnv bbbbc "
如何将其转换为 aNSString并在 next 中使用它expression,通常我需要先使用工具将其转义。
NSString
expression
我发现 return char 总是会破坏解释器解析表达式。
您可以在 lldb 中执行多行表达式,只需键入expression. 然后你可以像在源文件中一样输入它。例如
(lldb) expression Enter expressions, then terminate with an empty line to evaluate: 1 NSString *test = @"\ 2 hi\ 3 there\ 4 "; 5 NSLog (@"%@", test); 6 2016-05-12 10:14:13.757 errteir[2052:170287] hithere