You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Breakpad Crash Handler Not Sending Crash Errors #653
Hi currently I have set up Sentry for my project along with custom transports via setting sentry_tranport_new() which works properly when creating events with sentry_capture_event(). However it does not seem to send anything when I crash the program. From what I read in another issue here Crashpad has it's own transport method, is similar for Breakpad? If so is there a way to use our own transport code, or is that for in proc error handling only?
The breakpad handler (and in-proc) will write the event directly to disk in the case of a hard crash. On restart, the event will be loaded from disk and passed to the configured transport.
Is there a method you'd recommend for debugging whether the crash is being saved and whether the event is read again after the program restarts? I am assuming this second step will still use the custom transport.
Activity
Swatinem commentedon Jan 13, 2022
The breakpad handler (and in-proc) will write the event directly to disk in the case of a hard crash. On restart, the event will be loaded from disk and passed to the configured transport.
ricolaw-clarius commentedon Jan 14, 2022
Is there a method you'd recommend for debugging whether the crash is being saved and whether the event is read again after the program restarts? I am assuming this second step will still use the custom transport.
Swatinem commentedon Jan 17, 2022
Yes thats true.
You can take a look at the directory that you configured via:
sentry-native/include/sentry.h
Lines 960 to 990 in 0e94e49