(lldb) expr -r -- record.mfileRecord.mVolumename(std::string) = ""1> help expr/var/folders/zv/r3033x4n0f72bprvyk8612480000gn/T/lldb/30856/repl433.swift:2:5: error: consecutive statements on a line must be separated by ';'1> quit/var/folders/zv/r3033x4n0f72bprvyk8612480000gn/T/lldb/30856/repl434.swift:2:1: error: use of unresolved IDentifIEr 'quit'quit1> exit/var/folders/zv/r3033x4n0f72bprvyk8612480000gn/T/lldb/30856/repl435.swift:2:1: error: use of unresolved IDentifIEr 'exit'exit1> exit()/var/folders/zv/r3033x4n0f72bprvyk8612480000gn/T/lldb/30856/repl436.swift:2:1: error: use of unresolved IDentifIEr 'exit'exit()^1> quit()/var/folders/zv/r3033x4n0f72bprvyk8612480000gn/T/lldb/30856/repl437.swift:2:1: error: use of unresolved IDentifIEr 'quit'quit() 1> .quit/var/folders/zv/r3033x4n0f72bprvyk8612480000gn/T/lldb/30856/repl438.swift:2:2: error: Could not find member 'quit'.quit^~~1> :quit
(这里我的申请被终止,lldb被自杀了)
解决方法 使用单个冒号,您可以离开Swift REPL并返回到lldb:(lldb) repl1> 2> 3> :(lldb)
(找到这里:http://swift.exomachina.com/how-to-use-lldb-to-debug-swift-program。)
使用:退出可以停止整个调试会话:
(lldb) repl3> 4> 5> :quit5> Program ended with exit code: 9总结
以上是内存溢出为你收集整理的Xcode:如何退出lldb swift repl全部内容,希望文章能够帮你解决Xcode:如何退出lldb swift repl所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)