[swift-users] libswiftCore.dylib was compiled with optimization - stepping may behave oddly;
Dmitri Gribenko
gribozavr at gmail.com
Fri Aug 26 14:50:48 CDT 2016
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>*/
More information about the swift-users
mailing list