简体   繁体   中英

LLDB GUI in swift REPL

swift command line tool path:

/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

When I using swift in shell like python interpreter, I found a option gui

>:gui

It look like this:

lldb gui

Anybody who knowns how to debub a REPL program using it in swift?

By the way, Is there some way to using gui LLDB to debug my iOS app in xcode? I try to pause my app and type gui or :gui but it can't works.

The "gui" mode won't run in Xcode since the Xcode debugger console is not a true terminal. Not entirely sure why you would want it in Xcode, anyway.

The problem with debugging swift code in the REPL is that lldb isn't currently generating debug information in this mode. So the debugger has no symbolic information to work with.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM