<div dir="ltr">Hi Dimitri,<div><br></div><div>Thanks again for the help but unfortunately i am still stuck. </div><div>I added the --lldb flag and built it and ran in to some errors with this command./utils/build-script -R --debug-swift-stdlib --lldb</div><div>So i decided to start clean and re clone everything and start on fresh slate and try it with just the -l option  ./utils/build-script -l<br></div><div>I got the same error both times, it looks like both of the scripts have to do with code signing. I did not see any code sign  related entry in the README.md</div><div><br></div><div>Cheers</div><div><br></div><div>Dave </div><div><br></div><div><br></div><div><p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;"><span style="">PBXCp /Users/dyl/Documents/swift-source/build/Ninja-DebugAssert/lldb-macosx-x86_64/CustomSwift-Debug/repl_swift /Users/dyl/Documents/swift-source/build/Ninja-DebugAssert/lldb-macosx-x86_64/CustomSwift-Debug/LLDB.framework/Resources/repl_swift</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;"><span style="">    cd /Users/dyl/Documents/swift-source/lldb</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;"><span style="">    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/dyl/Documents/swift-source/build/Ninja-DebugAssert/lldb-macosx-x86_64/CustomSwift-Debug/repl_swift /Users/dyl/Documents/swift-source/build/Ninja-DebugAssert/lldb-macosx-x86_64/CustomSwift-Debug/LLDB.framework/Resources</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;;min-height:14px"><span style=""></span><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;"><span style="">** BUILD FAILED **</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;;min-height:14px"><span style=""></span><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;;min-height:14px"><span style=""></span><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;"><span style="">The following build commands failed:</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;"><span style=""><span class="" style="white-space:pre">        </span>PhaseScriptExecution Run\ Script /Users/dyl/Documents/swift-source/build/Ninja-DebugAssert/lldb-macosx-x86_64/lldb.build/CustomSwift-Debug/lldb-server.build/Script-4C3326CA18B2A2B800EB5DD7.sh</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;"><span style=""><span class="" style="white-space:pre">        </span>PhaseScriptExecution Run\ Script /Users/dyl/Documents/swift-source/build/Ninja-DebugAssert/lldb-macosx-x86_64/debugserver.build/CustomSwift-Debug/debugserver.build/Script-4C3326CB18B2A2F600EB5DD7.sh</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;"><span style="">(2 failures)</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;"><span style="">./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 65, aborting</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:&#39;Andale Mono&#39;"><span style="">davids-Mac-Pro:swift-source dyl$ ./swift/utils/build-script -l</span></p></div><div><span style=""><br></span></div><div><span style=""><br></span></div><div><span style="font-family:Menlo;font-size:13px">#!/bin/sh -x</span><br></div><div>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">if [ &quot;${CONFIGURATION}&quot; != BuildAndIntegration ]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">then</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">    if [ -n &quot;${DEBUGSERVER_USE_FROM_SYSTEM}&quot; ]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">    then</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style=""><span class="" style="white-space:pre">                </span>ditto &quot;${DEVELOPER_DIR}/../SharedFrameworks/LLDB.framework/Resources/debugserver&quot; &quot;${TARGET_BUILD_DIR}/${TARGET_NAME}&quot;</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">    elif [ &quot;${DEBUGSERVER_DISABLE_CODESIGN}&quot; == &quot;&quot; ]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">    then</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">        codesign -f -s lldb_codesign &quot;${TARGET_BUILD_DIR}/${TARGET_NAME}&quot;</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">    fi</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">fi</span></p></div><div><span style=""><br></span></div><div><p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">if [ &quot;${CONFIGURATION}&quot; != BuildAndIntegration ]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">then</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">    if [ &quot;${DEBUGSERVER_USE_FROM_SYSTEM}&quot; == &quot;&quot; ]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">    then</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">        if [ &quot;${DEBUGSERVER_DISABLE_CODESIGN}&quot; == &quot;&quot; ]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">        then</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">            codesign -f -s lldb_codesign &quot;${TARGET_BUILD_DIR}/${TARGET_NAME}&quot;</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">        fi</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">    fi</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo"><span style="">fi</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Menlo;min-height:15px"><span style=""></span><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 27, 2016 at 2:17 PM, Dmitri Gribenko <span dir="ltr">&lt;<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Aug 27, 2016 at 2:12 PM, David Liu &lt;<a href="mailto:david.yang.liu@gmail.com">david.yang.liu@gmail.com</a>&gt; wrote:<br>
&gt; Hi Dimitri,<br>
&gt;<br>
&gt; So i have built using ./utils/build-script -R --debug-swift-stdlib how ever<br>
&gt; the REPL no longer has line numbers and i can not set a breakpoint via `:b`<br>
&gt; and am unable to get to lldb to set breakpoints.<br>
&gt; Thanks again for your help.<br>
<br>
</span>This build does not include LLDB, only the components that I mentioned:<br>
<span class=""><br>
&gt; This will build the compiler, the standard library, and SDK overlays.<br>
<br>
</span>Add &#39;--lldb&#39; if you need the debugger.  (Note that you&#39;d need to start<br>
the REPL from the LLDB build dir, or install everything.  Running<br>
&#39;swift&#39; from the build directory will always run the integrated REPL<br>
without LLDB.)<br>
<div class="HOEnZb"><div class="h5"><br>
Dmitri<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=<wbr>2;j&lt;i;j++){if(!(i%j)){j=0;<wbr>break;}}if<br>
(j){printf(&quot;%d\n&quot;,i);}}} /*Dmitri Gribenko &lt;<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>&gt;*/<br>
</div></div></blockquote></div><br></div>