<div dir="ltr">Hi Dimitri<div><br></div><div>Thanks for the tip really appreciate the help.</div><div><br></div><div>Dave</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 26, 2016 at 12:50 PM, Dmitri Gribenko <span dir="ltr"><<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Aug 26, 2016 at 10:14 PM, David Liu via swift-users<br>
<<a href="mailto:swift-users@swift.org">swift-users@swift.org</a>> wrote:<br>
> Thank you Michael this really helps a lot, i really appreciate your help.<br>
> Here is the bug i filed. <a href="https://bugs.swift.org/browse/SR-2494" rel="noreferrer" target="_blank">https://bugs.swift.org/browse/<wbr>SR-2494</a> .<br>
> Also as a side question, this is my current method of trying to debug the<br>
> Standard Library, was wondering is there a better way to debug other than<br>
> build toolchain and debug through command line?<br>
<br>
</span>If you don't need the whole toolchain, just run:<br>
<br>
./utils/build-script -R --debug-swift-stdlib<br>
<br>
This will build the compiler, the standard library, and SDK overlays.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dmitri<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=<wbr>2;j<i;j++){if(!(i%j)){j=0;<wbr>break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>*/<br>
</font></span></blockquote></div><br></div>