[Issue 1001] print stack trace (in debug mode) when program die

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 7 02:55:44 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=1001



--- Comment #71 from Martin Nowak <code at dawg.eu> 2014-01-07 02:55:12 PST ---
http://en.wikipedia.org/wiki/Exception_handling#Exception_synchronicity
It's simply that the compiler cannot handle cleanup when every instruction
could throw. In case an asynchronous exception happens in the middle of some
statement your program is immediately in an invalid state. Continuing could
deadlock or corrupt data, much worse than a crash.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list