[Issue 11865] Unhandled exception does not show crash dialog

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 5 18:31:11 PST 2014


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



--- Comment #3 from Jordan Miner <jminer7 at gmail.com> 2014-01-05 18:31:08 PST ---
Thanks for writing the patch. Sounds like a good improvement that I'll use
during development.

Reading about WER more, I think I'd rather bypass it and handle everything
myself. Could there be a way to set a delegate that is called when there is an
uncaught exception and have an easy way to get the exception type, name, and
stack trace?

In the delegate, I could start a helper process that reads the information from
the crashed process and uploads it (to avoid doing too much in a crashed
process). For others who want to use WER, it looks like they could call
WerReportCreate() and WerReportSubmit() from the delegate to trigger WER. The
default delegate could write the info to the console or show a dialog,
depending on whether there is a console. What do you think?

-- 
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