https://issues.dlang.org/show_bug.cgi?id=18220
Issue ID: 18220 Summary: Allow trapexception to be set from the CLI Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com http://arsdnet.net/this-week-in-d/2016-aug-07.html > Hopefully, druntime will expose this variable in a more easier way in the > future. Currently, on Windows, it is automatically set if a debugger is > detected, but on Linux, debugger detection is quite a bit harder and hackier, > so it might not happen any time soon. Druntime could (and should!) also > potentially offer it as a command line switch, like it does with GC profiling > now. > DRUNTIME DEVS: if you read this, make it happen! --