Better diagnostics for null classes dereferencing

Seb seb at wilzba.ch
Tue Jul 10 20:22:10 UTC 2018


On Tuesday, 10 July 2018 at 19:01:22 UTC, Per Nordlöw wrote:
> Is it possible to change run-time behaviour of null-class 
> dereferencing, on Linux, so that it gives some other 
> diagnostics than:
>
> Program exited with code -11
>
> Does DMD and LDC provide different alternatives here?

On a Systemd system coredumps are typically configured to be 
automatically generated and saved.
For example you can start up gdb at the most recent crash:

coredumpctl gdb -1


More information about the Digitalmars-d-learn mailing list