How to prevent console from popping up when writing a GUI application with DMD?
Pass the following argument to dmd
> dmd.exe -L/SUBSYSTEM:WINDOWS gui_app.d
How to generate stack trace when an exception occurs ?
Stack trace with function names is only supported in debug mode. So add -g option while compiling. Otherwise you would still get the stack trace but without function names.