www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18220] New: Allow trapexception to be set from the CLI


          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: nobody puremagic.com
          Reporter: greensunny12 gmail.com


 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
 DRUNTIME DEVS: if you read this, make it happen!
Jan 10 2018