Hi Swift-LLDB, I had something I wanted to follow up on.
I'm currently working in a mixed development environment (Obj-C & Swift), and we're slowly migrating to Swift. I've managed to connect lldb to a Swift only environment and use REPL to successfully inspect objects without issue. That said, when I connect to my mixed project, it doesn't allow me to import UIKit (see errors below): (lldb) repl 3> import UIKit error: Couldn't lookup symbols: _globalinit_33_FD9A49A256BEB6AF7C48013347ADC3BA_func4 _globalinit_33_FD9A49A256BEB6AF7C48013347ADC3BA_token4 __TZvOs11CommandLine11_unsafeArgvGSpGSqGSpVs4Int8___ __TZvOs11CommandLine5_argcVs5Int32 I've appropriately set the language to Swift as follows: (lldb) settings set target.language swift My suspicion is that there are two UIKits (one in Objective-C and one in Swift). Would you be able to offer me some clarity to resolve this issue? Thank you, Jessie On Thu, Oct 6, 2016 at 10:43 AM, Enrico Granata <[email protected]> wrote: > > On Oct 5, 2016, at 5:01 PM, Jessie Serrino via swift-lldb-dev < > [email protected]> wrote: > > Hi Swift LLDB, > > First of all, thanks to some of you for being so responsive! > > After playing around a bit with the LLDB build, we had some feature > requests for the next version of LLDB. > > First and foremost, we’d like to be able to execute multi-line expressions > through *expression*, > > Good news! This is already possible: > > > As for the other features you suggest, I'll let someone who is more in > depth with the expression evaluator go into details > > and create variables in a global context without a *$*. This is > incredibly important, and would enable us (and other developers) to make > deeper, more valuable investigations into code while debugging. > > In a similar vein, we would like to be able to revert these definitions of > expressions in Swift. This would allow us to set the state for certain > variables, but also revert our code if anything were to go awry. > > Would it be possible to have some help with this? We're relatively new to > the codebase, so we've been having trouble getting things kickstarted on > our end. > > Thanks again, > Jessie (and Rex) > > -- > Jessie Serrino > iOS Engineer, Remind > _______________________________________________ > swift-lldb-dev mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-lldb-dev > > > > Thanks, > *- Enrico* > 📩 egranata@.com ☎️ 27683 > >
_______________________________________________ swift-lldb-dev mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-lldb-dev
