[swift-users] libswiftCore.dylib was compiled with optimization - stepping may behave oddly;

David Liu david.yang.liu at gmail.com
Sat Aug 27 14:26:59 CDT 2016


Hi Dimitri

Thanks for the tip really appreciate the help.

Dave


On Fri, Aug 26, 2016 at 12:50 PM, Dmitri Gribenko <gribozavr at gmail.com>
wrote:

> On Fri, Aug 26, 2016 at 10:14 PM, David Liu via swift-users
> <swift-users at swift.org> wrote:
> > Thank you Michael this really helps a lot, i really appreciate your help.
> > Here is the bug i filed. https://bugs.swift.org/browse/SR-2494 .
> > Also as a side question, this is my current method of trying to debug the
> > Standard Library,  was wondering is there a better way to debug other
> than
> > build toolchain and debug through command line?
>
> If you don't need the whole toolchain, just run:
>
> ./utils/build-script -R --debug-swift-stdlib
>
> This will build the compiler, the standard library, and SDK overlays.
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160827/de6fbb9d/attachment.html>


More information about the swift-users mailing list