--- Comment #3 from Leandro Lucarella <> 2010-07-21 07:53:06 
PDT ---
(In reply to comment #2)
> Oh you're right.  It works in C++ because C++ doesn't auto-report uncaught
> exceptions,

GCC does, when using the verbose termination handler (which has been the
default for some time now):

> so when one passes out of main the process exits in some special
> manner that preserves the call stack.  What I don't get is why this works with
> object dtors that are run as the stack unwinds though.  In any case,  druntime
> has an extern (C) bool called rt_trapExceptions that is used by debuggers to
> enable some of this functionality, but it has to be set very early in the
> startup process.  I guess I'll have to think about this one some more.

OK, thanks.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to