Skip to content

Support .dmp caching when using the external crash reporter #1688

@dalnoki

Description

@dalnoki

This PR added the ability to cache minidumps as separate .dmp files alongside .envelope files in the sentry DatabasePath cache directory. However, this feature only works when sentry-native is handling crashes directly via its own crashpad backend.

When the external Unreal crash reporter is active, crash handling is owned entirely by Unreal, and the sentry-native caching logic in process_completed_reports() is never reached. The external reporter path only writes a small session envelope via flush_external_crash_report(), so no minidump caching occurs.

Expected behavior:
When cache_keep is enabled and the external crash reporter is configured, .dmp files should be written to the DatabasePath cache directory alongside their corresponding .envelope files, consistent with the behavior of the native crashpad path.

Metadata

Metadata

Assignees

Labels

Improvementimprovement for existing featuresNativeplatform label
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions