Xcode lldb

lldb is the debugger. It's a console prompt; it's waiting for you to input a debugger command.

There nothing in the given code that would crash, which is one way to end up in the debugger. Another way is if you accidentally set a breakpoint. In Xcode you do this by clicking on the left hand margin of the code editor (something easy to do on mistake, I've done it before). If so you'd see a blue, right pointing arrow.

想对作者说点什么? 我来说一句