[phobos] Calling abort() on unhandled exception
Steve Schveighoffer
schveiguy at yahoo.com
Fri Jul 30 07:54:06 PDT 2010
----- Original Message ----
> From: Sean Kelly <sean at invisibleduck.org>
> To: Discuss the phobos library for D <phobos at puremagic.com>
> Sent: Fri, July 30, 2010 10:46:38 AM
> Subject: Re: [phobos] Calling abort() on unhandled exception
>
> That's the thing. With Leandro's proposed behavior, the stack isn't unwound
>because the exception is effectively never caught. The runtime can still print
>the error message like it does now, it just works as if from a signal handler.
>
With stack trace? I'd much rather have a stack trace than a core file. A stack
trace can easily be read, is easy to email/attach to a bug report, and does not
require duplicating the entire environment to use.
-Steve
More information about the phobos
mailing list