<div dir="ltr">Hey lldb team!<div><br></div><div>We're trying to build some tooling around lldb and the repl but we can't start until we have some way of importing our application as a module. Some insights into why running into these roadblocks would be greatly appreciated :)</div><div><br></div><div>Thanks,</div><div>Rex</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 21, 2017 at 2:33 PM, Jessie Serrino <span dir="ltr"><<a href="mailto:jessie@remind101.com" target="_blank">jessie@remind101.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <u></u> <div style="word-wrap:normal;word-break:break-word"> <table class="m_-5105190473756573657container" lang="container" dir="ltr" border="0" cellpadding="0" cellspacing="0" valign="top" style="width:100%;margin-top:6px"> <tbody><tr> <td valign="top" class="m_-5105190473756573657message-wrapper" style="line-height:1.31;color:#222;font-family:arial,sans-serif"> <div>Hi there,</div><div><br></div><div>Just to follow up, I connected my application to the debugger outside of Xcode, and when I attempt to import my project there (by using import ProjectName), I instead get this error: "expression failed to parse, unknown error".</div><div><br></div><div>When I instead use @testable to import, I get this error: "Shared Swift state for Remind101 has developed fatal errors and is being discarded.</div><div><span class="m_-5105190473756573657s1">REPL definitions and persistent names/types will be lost.". </span></div><div><span class="m_-5105190473756573657s1"><br>Any insight as to why it's having trouble loading my module?</span></div><div><span class="m_-5105190473756573657s1"><br></span></div><div><span class="m_-5105190473756573657s1">JS<em class="m_-5105190473756573657scribe-marker" style="display:none"></em></span></div><img align="left" width="0" height="0" style="border:0;width:0px;height:0px" src="https://track.mixmax.com/api/track/v2/BYqGEXunCfryZf3Fs/gIt92YuEDMxQmbp1WZyBUZpN3clpmI" alt=""> </td> </tr> </tbody></table><div><div class="h5"> <div> <div> <p><br></p> <div class="gmail_extra"> <p><br></p> <div class="gmail_quote"> On Tue, Mar 21, 2017 8:43 AM, Jessie Serrino <span dir="ltr"> <a href="mailto:jessie@remind101.com" target="_blank">jessie@remind101.com</a></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <u></u> <table lang="container" dir="ltr" border="0" cellpadding="0" cellspacing="0" valign="top" style="width:100%;margin-top:6px"> <tbody><tr> <td valign="top" style="line-height:1.31;color:#222;font-family:arial,sans-serif"> <div>Hello,</div><div><br>I'm using LLDB within Xcode (version lldb-360.1.70), and trying to import all existing files from my project into the REPL.</div><div><br></div><div>When I type <i><b>import ProjectName</b></i>, the REPL doesn't have any issues. That said, when I reference any classes within the project that I am trying to import, I get <i><b>error: use of unresolved identifier</b></i>. </div><div><br></div><div>Is there a command to link the Swift module within LLDB that I may be missing? Within my Xcode build settings of the project, I have <b>Defines Module</b> set to <b>Yes</b>, so I am certain that a module is being created for my project.<br></div><div><br></div><div>Thanks,</div><div>JS</div><img align="left" width="0" height="0" style="border:0;width:0px;height:0px" src="https://compose.mixmax.com/img/blank.png" alt=""> </td> </tr> </tbody></table> </blockquote> </div> </div> </div> </div> </div></div></div> </blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:16px;font-family:Arial;background-color:transparent;font-style:italic;vertical-align:baseline;white-space:pre-wrap">Rex Fenley</span><span style="font-size:16px;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:11px;font-family:Arial;color:rgb(153,153,153);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">|</span><span style="line-height:1.15;font-family:Arial;color:rgb(153,153,153);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:11px;font-family:Arial;color:rgb(153,153,153);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">IOS DEVELOPER</span><br></p></span><span><br><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11px;font-family:Arial;color:rgb(153,153,153);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><img src="https://lh5.googleusercontent.com/xMgzw3JkFL3DLkdwyq0WxJzKs_XP57gVVCaBMvgi1FKCjSeue0xdx3JZeCWBlxN4KRHhHOfdvJbc1N-AjTwXcKIq4cjJg9H7iaFpQ8WbO4N3c9Y5dzi19cPOs_owPquuqw" width="250px;" height="53px;" style="border:none"></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><a href="https://www.remind.com/" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:Arial;color:rgb(17,85,204);font-weight:bold;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Remind.com</span></a><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span><span style="font-size:11px;font-family:Arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">| </span><a href="http://blog.remind.com/" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:Arial;color:rgb(17,85,204);text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">BLOG</span></a><span style="font-size:11px;font-family:Arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> | </span><a href="https://twitter.com/remindhq" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:Arial;color:rgb(17,85,204);text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">FOLLOW US</span></a><span style="font-size:11px;font-family:Arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> | </span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span><span style="text-decoration:underline;font-size:11px;font-family:Arial;color:rgb(17,85,204);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><a href="https://www.facebook.com/remindhq" style="text-decoration:none" target="_blank">LIKE US</a></span></p></span></div></div>
</div>