Stacktrace on Null Pointer Derefence

Jonathan Marler via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 21 17:54:23 PDT 2016


On Wednesday, 21 September 2016 at 23:36:08 UTC, Nordlöw wrote:
> Doing a null deref such as
>
>     int* y = null;
>     *y = 42;                    // boom
>
> [...]

Can you include compiler command line?  I use -g -gs -debug to 
get stack traces on windows.


More information about the Digitalmars-d-learn mailing list