Xcode: how to exit lldb swift repl Xcode: how to exit lldb swift repl swift swift

Xcode: how to exit lldb swift repl


With a single colon you can leave the Swift REPL and return to lldb:

(lldb) repl1> 2> 3> :(lldb)

(Found here: http://swift.exomachina.com/how-to-use-lldb-to-debug-swift-program.)

With :quit you can stop the entire debugging session:

(lldb) repl3> 4> 5> :quit5> Program ended with exit code: 9