assume, assert, enforce, @safe
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 1 15:36:38 PDT 2014
On 8/1/2014 3:34 PM, Sean Kelly wrote:
> Also, I don't like the -debuglib option because when a user sets
> the debug flag in their build, what they want is to debug their
> own code, not the standard library. While it's sometimes useful
> to have debug symbols in the standard library you're linking
> against, it's basically never useful to have internal debug code
> enabled in the standard library because even if there's a bug in
> that library, you can't do anything about it. And presumably the
> library has been tested against that debug code anyway.
It's mainly useful for having a library with symbolic debug info in it, which
makes it easier to work with in a symbolic debugger.
More information about the Digitalmars-d
mailing list