Catch2 icon indicating copy to clipboard operation
Catch2 copied to clipboard

Capture memory dump on unhandled / fatal exceptions.

Open Alan-Jowett opened this issue 2 years ago • 0 comments

Description Consider moving this code wer_report.cpp into catch2. Along with Local Dump Collection this will allow for automatically gathering triage dumps when fatal error occur in a test.

Additional context Running catch2 tests under OpenCppCoverage results dumps not being captured via the normal means, such as ProcDump. The only point where dumps can be captured is a via a top-level vectored exception handler. Dumps can be captured easily using the WER APIs. I would prefer to move this code upstream so everyone benefits.

Alan-Jowett avatar Apr 24 '22 21:04 Alan-Jowett