[swift-lldb-dev] Swift LLDB Feature Support
tfiala at apple.com
Thu Oct 20 09:53:06 CDT 2016
> On Oct 19, 2016, at 6:12 PM, Jessie Serrino via swift-lldb-dev <swift-lldb-dev at swift.org> wrote:
> 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:
> 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?
I have a few bits of info I’d like to gather:
* Which version of Xcode are you using?
* Are you using a custom-built or downloaded toolchain for Swift? How about LLDB?
* What’s the output when you type “lldb --version” and “swiftc --version”?
* Can you reproduce it in a small project, and send us steps to follow?
> Thank you,
> On Thu, Oct 6, 2016 at 10:43 AM, Enrico Granata <egranata at apple.com <mailto:egranata at apple.com>> wrote:
>> On Oct 5, 2016, at 5:01 PM, Jessie Serrino via swift-lldb-dev <swift-lldb-dev at swift.org <mailto:swift-lldb-dev at swift.org>> 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
>> swift-lldb-dev at swift.org <mailto:swift-lldb-dev at swift.org>
>> https://lists.swift.org/mailman/listinfo/swift-lldb-dev <https://lists.swift.org/mailman/listinfo/swift-lldb-dev>
> - Enrico
> 📩 egranata@.com ☎️ 27683
> swift-lldb-dev mailing list
> swift-lldb-dev at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-lldb-dev