Skip to content

Commit 3bbc7e2

Browse files
committed
feat(native): external crash reporter
1 parent 3250e96 commit 3bbc7e2

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
81.2 KB
Loading
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: External Crash Reporter
3+
description: "How to configure an external crash reporter with the Native SDK."
4+
sidebar_order: 2100
5+
---
6+
The Native SDK can be configured to work with an external crash reporter, which
7+
can be used to display crash information to the user, collect user feedback, or
8+
perform other actions when a crash occurs.
9+
10+
The external crash reporter is a user-defined executable, distinct from the
11+
system crash reporter, that is launched by the Native SDK upon a crash. It
12+
receives the path to the crash report as its only command-line argument and
13+
is responsible for submitting the crash report to Sentry.
14+
15+
```c
16+
sentry_options_t *options = sentry_options_new();
17+
sentry_options_set_external_crash_reporter_path(options, "/path/to/external_crash_reporter");
18+
/* ... */
19+
sentry_init(options);
20+
```
21+
22+
![Sentry Desktop Crash Reporter](./img/screenshot-external-crash-reporter.png)
23+
24+
<Alert title="Tip">
25+
[Sentry Desktop Crash Reporter](https://github.com/getsentry/sentry-desktop-crash-reporter) is a ready-made crash reporter reference implementation. It is a cross-platform desktop application made with [.NET](https://dot.net) and [Uno Platform](https://platform.uno/).
26+
</Alert>

0 commit comments

Comments
 (0)