Closed
Bug 532490
Opened 15 years ago
Closed 6 years ago
provide C++ API to write minidump and exit application
Categories
(Toolkit :: Crash Reporting, defect)
Toolkit
Crash Reporting
Tracking
()
RESOLVED
FIXED
People
(Reporter: ted, Unassigned)
Details
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.
Comment 1•15 years ago
|
||
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.
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•