Skip to content

getsentry/sentry-desktop-crash-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

193 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentry

Sentry Desktop Crash Reporter

CI codecov

A reference implementation of an external crash reporter for desktop applications using the Sentry Native SDK.

Screenshots

Features

  • Cross-Platform: Works on Windows, macOS, and Linux thanks to .NET and the Uno Platform.
  • User Consent: Gives the user explicit control over whether their crash data is sent.
  • User Feedback: Allows users to add comments to the crash report.
  • Crash Information: Displays crash details and stack traces from the attached memory dump.
  • Attachments: Allows users to preview crash report attachments, such as screenshots.

Customize

See CUSTOMIZATION.md for instructions on rebranding the crash reporter with your own logo, colors, and window title.

Build

Prerequisites

Develop

dotnet run --project Sentry.CrashReporter/Sentry.CrashReporter.csproj -f net9.0-desktop -- Sentry.CrashReporter.Tests/data/inproc.envelope

Deploy

dotnet publish -f net9.0-desktop -r <RID> Sentry.CrashReporter/Sentry.CrashReporter.csproj

Replace <RID> with your target platform runtime identifier (e.g., win-x64, osx-arm64, linux-x64). See the .NET RID Catalog for more options.

Usage

sentry_options_t *options = sentry_options_new();
sentry_options_set_external_crash_reporter_path(options, "/path/to/Sentry.CrashReporter");
/* ... */
sentry_init(options);

About

Take user feedback and/or consent before submitting crash report on Windows, macOS and Linux

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors

Languages