We should provide a CrashReporter API to write a minidump (preferably with some assertion info, like a message, file and line number) and exit the application. This could be used to implement NS_RUNTIME_ABORT internally, so that we could use this in production code and get crash reports from it. We currently have an API that's usable if you have an EXCEPTION_POINTERS on Windows, but it'd be nice to have something that worked on all platforms and didn't require an existing exception.
As discussed on IRC, I don't think we necessarily should expose this API to the world, but should just hook it up to the existing NS_DebugBreak(NS_DEBUG_ABORT), which even has a scriptable version.
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.