On Fri, Aug 26, 2016 at 10:14 PM, David Liu via swift-users <swift-users@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 <griboz...@gmail.com>*/ _______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users