<div dir="ltr">Hi!<div><br></div><div>I run lldb, platform select ios-simulator, connect to the right simulator and attach to my app and when trying to try to do anything in the repl I get the following kind of error at the bottom for an Abort, please help! The repl works fine in Xcode, not sure why it wouldn&#39;t work in this case.</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><p class="gmail-p1"><span class="gmail-s1">(lldb) </span><span class="gmail-s2">process attach -n &lt;App Name&gt; --waitfor</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">Process 27857 stopped</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">* thread #1: tid = 0x1eadf9, 0x00007fff6d4ca5e2 dyld`pread + 10, stop reason = signal SIGSTOP</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">    frame #0: 0x00007fff6d4ca5e2 dyld`pread + 10</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">dyld`pread:</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">-&gt;  0x7fff6d4ca5e2 &lt;+10&gt;: jae    0x7fff6d4ca5ec            ; &lt;+20&gt;</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">    0x7fff6d4ca5e4 &lt;+12&gt;: movq   %rax, %rdi</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">    0x7fff6d4ca5e7 &lt;+15&gt;: jmp    0x7fff6d4c9c01            ; cerror</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">    0x7fff6d4ca5ec &lt;+20&gt;: retq   </span></p></div><div><p class="gmail-p2"><br></p></div><div><p class="gmail-p1"><span class="gmail-s1">Executable module set to &quot;/Users/Rex/Library/Developer/CoreSimulator/Devices/ACC5BC4E-C7B1-4635-A591-6BE65F05B7EC/data/Containers/Bundle/Application/ECA295A8-DB79-4A4A-8ADE-0E616CAB0093/&lt;App Name&gt;.app/&lt;App Name&gt;&quot;.</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">Architecture set to: x86_64h-apple-ios.</span></p></div><div><p class="gmail-p1"><span class="gmail-s2">(lldb) </span><span class="gmail-s1">continue</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">Process 27857 resuming</span></p></div><div><p class="gmail-p1"><span class="gmail-s2">(lldb) </span><span class="gmail-s1">process interrupt</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">Process 27857 stopped</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">* thread #1: tid = 0x1eadf9, 0x0000000115929f72 libsystem_kernel.dylib`mach_msg_trap + 10, stop reason = signal SIGSTOP</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">    frame #0: 0x0000000115929f72 libsystem_kernel.dylib`mach_msg_trap + 10</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">libsystem_kernel.dylib`mach_msg_trap:</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">-&gt;  0x115929f72 &lt;+10&gt;: retq   </span></p></div><div><p class="gmail-p1"><span class="gmail-s1">    0x115929f73 &lt;+11&gt;: nop    </span></p></div><div><p class="gmail-p2"><br></p></div><div><p class="gmail-p1"><span class="gmail-s1">libsystem_kernel.dylib`mach_msg_overwrite_trap:</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">    0x115929f74 &lt;+0&gt;:  movq   %rcx, %r10</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">    0x115929f77 &lt;+3&gt;:  movl   $0x1000020, %eax          ; imm = 0x1000020 </span></p></div><div><p class="gmail-p3"><span class="gmail-s1">(lldb) </span><span class="gmail-s3">repl</span></p></div><div><p class="gmail-p1"><span class="gmail-s2">  1&gt; </span><span class="gmail-s1">import Foundation</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">warning: Swift error in module &lt;App Name&gt;.</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">Debug info from this module will be unavailable in the debugger.</span></p></div><div><p class="gmail-p2"><br></p></div><div><p class="gmail-p1"><span class="gmail-s1">Assertion failed: (!HasFatalErrors()), function GetNumModuleSearchPaths, file /Users/Rex/Documents/projects/swift-lldb/lldb/source/Symbol/SwiftASTContext.cpp, line 3587.</span></p></div><div><p class="gmail-p1"><span class="gmail-s1">Abort trap: 6</span></p></div></blockquote><div>















<p class="gmail-p2"><span class="gmail-s1"></span></p>











<p class="gmail-p2"><span class="gmail-s1"></span></p>







<p class="gmail-p2"><span class="gmail-s1"></span></p>

<div><br></div>-- <br><div class="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></div>