> On Mar 15, 2016, at 11:28 AM, Jordan Rose <[email protected]> wrote: > > What is a "debug build"? Is it one where testing is enabled? Where the > optimization level is -Onone? (We've talked about having an -Odebug and/or > -Oplayground at some point. Are those "debug builds"?) Is it one where > asserts are not removed? (This can technically be controlled independently of > -O, but we don't advertise the fact, and I'm not sure we even want that > feature.) > > Also, what is "config"? It doesn't mean anything to me on its own, which > means I wouldn't know what else I can put besides "debug". > > Jordan >
Figuring out what debug *means* is an important first step. To "my people", it's the Xcode Build Configuration > Debug scheme setting. For language purposes, the only definition I can come up with at the moment is that debug is what happens when asserts can fire and are not disabled by compile-time optimizations. Is there a better definition? -- E _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
