<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">So we don’t lose track of all this info, can you create a JIRA ticket on <a href="http://bugs.swift.org" class="">bugs.swift.org</a> to track this?<div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">-Todd</div><div class=""><br class=""><div style=""><blockquote type="cite" class=""><div class="">On Oct 20, 2016, at 7:54 AM, Todd Fiala <<a href="mailto:tfiala@apple.com" class="">tfiala@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><div class=""><br class="Apple-interchange-newline">On Oct 20, 2016, at 7:53 AM, Todd Fiala <<a href="mailto:tfiala@apple.com" class="">tfiala@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">Hi Jessie!</span><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 19, 2016, at 6:12 PM, Jessie Serrino via swift-lldb-dev <<a href="mailto:swift-lldb-dev@swift.org" class="">swift-lldb-dev@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Swift-LLDB,<div class=""><br class=""></div><div class=""><div class="">I had something I wanted to follow up on.</div><div class=""><br class=""></div><div class="">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):</div><div class=""><br class=""></div><div class=""><font face="monospace, monospace" class="">(lldb) repl</font></div><div class=""><font face="monospace, monospace" class="">3> import UIKit</font></div><div class=""><font face="monospace, monospace" class="">error: Couldn't lookup symbols:</font></div><div class=""><font face="monospace, monospace" class=""> _globalinit_33_FD9A49A256BEB6AF7C48013347ADC3BA_func4</font></div><div class=""><font face="monospace, monospace" class=""> _globalinit_33_FD9A49A256BEB6AF7C48013347ADC3BA_token4</font></div><div class=""><font face="monospace, monospace" class=""> __TZvOs11CommandLine11_unsafeArgvGSpGSqGSpVs4Int8___</font></div><div class=""><font face="monospace, monospace" class=""> __TZvOs11CommandLine5_argcVs5Int32</font></div><div class=""><br class=""></div><div class="">I've appropriately set the language to Swift as follows:<font face="monospace, monospace" class=""><span class="Apple-converted-space"> </span>(lldb) settings set target.language swift</font></div><div class=""><br class=""></div><div class="">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?</div><div class=""><br class=""></div></div></div></div></blockquote><div class=""><br class=""></div><div class="">I have a few bits of info I’d like to gather:</div><div class=""><br class=""></div><div class="">* Which version of Xcode are you using?</div><div class=""><br class=""></div><div class="">* Are you using a custom-built or downloaded toolchain for Swift? How about LLDB?</div><div class=""><br class=""></div><div class="">* What’s the output when you type “lldb --version” and “swiftc --version”?</div><div class=""><br class=""></div><div class="">* Can you reproduce it in a small project, and send us steps to follow?</div><div class=""><br class=""></div></div></div></div></blockquote><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Another question:</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">* When you ran the repl and import command above, what language was the top (0th) stack frame in the attached process? Was it Swift or Objective-C?</div><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><div class=""><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class=""><div class="">Thanks!</div><div class=""><br class=""></div><div class="">-Todd</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">Thank you,</div><div class="">Jessie</div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Oct 6, 2016 at 10:43 AM, Enrico Granata<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:egranata@apple.com" target="_blank" class="">egranata@apple.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div class="" style="word-wrap: break-word;"><br class=""><div class=""><blockquote type="cite" class=""><span class=""><div class="">On Oct 5, 2016, at 5:01 PM, Jessie Serrino via swift-lldb-dev <<a href="mailto:swift-lldb-dev@swift.org" target="_blank" class="">swift-lldb-dev@swift.org</a>> wrote:</div><br class="m_187002738993549028Apple-interchange-newline"></span><span class=""><div class=""><div dir="ltr" class=""><p class="m_187002738993549028gmail-p1"><font size="2" class="">Hi Swift LLDB,</font></p><p class="m_187002738993549028gmail-p1"><font size="2" class="">First of all, thanks to some of you for being so responsive!</font></p><p class="m_187002738993549028gmail-p1"><font size="2" class="">After playing around a bit with the LLDB build, we had some feature requests for the next version of LLDB.</font></p><p class="m_187002738993549028gmail-p1"><font size="2" class="">First and foremost, we’d like to be able to execute multi-line expressions through<span class="Apple-converted-space"> </span><font face="monospace, monospace" class=""><b class="">expression</b></font>,</font></p></div></div></span></blockquote><div class="">Good news! This is already possible:</div><div class=""><br class=""></div><div class=""><span id="cid:0D8833C0-8EFC-4B91-B091-4332BFB875ED@apple.com" class=""><PastedGraphic-1.png></span></div><div class=""><br class=""></div><div class="">As for the other features you suggest, I'll let someone who is more in depth with the expression evaluator go into details</div><div class=""><br class=""></div><blockquote type="cite" class=""><div class=""><span class=""><div dir="ltr" class=""><p class="m_187002738993549028gmail-p1"><font size="2" class="">and create variables in a global context without a<span class="Apple-converted-space"> </span><b class=""><font face="monospace, monospace" class="">$</font></b>. This is incredibly important, and would enable us (and other developers) to make deeper, more valuable investigations into code while debugging.</font></p><p class="m_187002738993549028gmail-p1"><font size="2" class="">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. </font></p><p class="m_187002738993549028gmail-p1"><font size="2" class="">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.</font></p><p class="m_187002738993549028gmail-p1"><span class="" style="font-size: small;">Thanks again,<br class=""></span><span class="" style="font-size: small;">Jessie (and Rex)</span></p><p class="m_187002738993549028gmail-p1"><font size="2" class="">-- <br class=""></font><span class="" style="font-size: small;">Jessie Serrino<br class=""></span><span class="" style="font-size: small;">iOS Engineer, Remind</span></p></div></span>______________________________<wbr class="">_________________<span class=""><br class="">swift-lldb-dev mailing list<br class=""><a href="mailto:swift-lldb-dev@swift.org" target="_blank" class="">swift-lldb-dev@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-lldb-dev" target="_blank" class="">https://lists.swift.org/<wbr class="">mailman/listinfo/swift-lldb-<wbr class="">dev</a><br class=""></span></div></blockquote></div><br class=""><div class=""><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br class="m_187002738993549028Apple-interchange-newline">Thanks,</div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><i class="">- Enrico</i><br class="">📩 egranata@<font color="#ff2600" class=""></font>.com ☎️ 27683</div></div><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">swift-lldb-dev mailing list<br class=""><a href="mailto:swift-lldb-dev@swift.org" class="">swift-lldb-dev@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-lldb-dev" class="">https://lists.swift.org/mailman/listinfo/swift-lldb-dev</a></div></blockquote></div></div></div></blockquote></div></blockquote></div><br class=""></div></body></html>