Bug 18220 – Allow rt_trapexceptions to be set from the CLI
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2018-01-10T17:26:42Z
Last change time
2019-08-30T16:02:04Z
Assigned to
No Owner
Creator
Seb
Comments
Comment #0 by greensunny12 — 2018-01-10T17:26:42Z
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!
Comment #1 by github-bugzilla — 2018-07-17T05:44:41Z