Fix D's segfaults!

Ali Çehreli via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 20 12:35:45 PDT 2017


On 08/20/2017 12:14 PM, Johnson Jones wrote:

 >>> Dmd needs to be modified so that errors try to show from the source
 >>> code. This should be obvious the reasons, if it is not possible, make
 >>> it possible! There are no excuses why dmd should make me go on an
 >>> easter egg hunt when a seg fault occurs.

You can open an enhancement request at

   https://issues.dlang.org/enter_bug.cgi

I don't know how well it works with D but what I used to do with C++ was 
to put a break point at Exception constructor, which would give me the 
useful stack to go back to my own code.

Ali



More information about the Digitalmars-d mailing list