A few questions

Adam D. Ruppe destructionator at gmail.com
Fri Jul 27 12:48:32 PDT 2012


On Windows, an access violation (from a null pointer or other
causes) is an exception that is thrown and can even be caught.

On Linux, a segfault is a signal that just kills the program,
it doesn't work like a regular exception.


The Windows exceptions can do pretty stack traces, including
on null derefs, if you have some debugging library installed...
and I've done it before, but I don't remember the link right now.
It's something from Microsoft.


More information about the Digitalmars-d-learn mailing list