Make using compiled libs with debug code better

apz28 home at
Mon Oct 18 23:07:34 UTC 2021

On Monday, 18 October 2021 at 13:04:47 UTC, Steven Schveighoffer 
> I wrote about this in a reply to a learn thread, but realized I 
> should really post it here on its own.
> A user posted seemingly innocuous code that caused a 
> segmentation fault

Learn from Delphi. It implement long time ago.
It always deploy library in release (default) and debug. The 
compiler has option to compile/use Debug Library (Use Debug 
DCUs). So for D, just deploy ...lib\debug and add compiler option 
to use it

Happy coding!

More information about the Digitalmars-d mailing list