-
Notifications
You must be signed in to change notification settings - Fork 291
Open
Labels
Area: DumpArea: MTPBelongs to the Microsoft.Testing.Platform core libraryBelongs to the Microsoft.Testing.Platform core library
Description
Today we have CrashDump extension for MTP which generates a dump on crash. In .NET 6.0+, there is also DOTNET_EnableCrashReport which generates a json crash report.
There is also DOTNET_EnableCrashReportOnly in .NET 7.0+, which generates only the report without the dump.
See https://github.com/dotnet/runtime/blob/313982dff3457c8291e8b88cd99785f6920319f0/docs/design/coreclr/botr/xplat-minidump-generation.md#configurationpolicy for docs about these env variables.
Reasons to generate report:
- Getting information from CI crashes on macOS when the dev doesn't have access to a macOS. Json is json and will provide info/hints on what's wrong, even if less powerful than a dump, better than nothing.
- Avoid paying the cost of uploading large dump files in CI for simple applications where the json will simply provide sufficient information, or maybe in some CI environments where disk space might not even be sufficient to store the dump file, or low-cost setups which won't allow uploading big artifacts.
Evangelink
Metadata
Metadata
Assignees
Labels
Area: DumpArea: MTPBelongs to the Microsoft.Testing.Platform core libraryBelongs to the Microsoft.Testing.Platform core library