Breakpad Crash Handler Not Sending Crash Errors
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?
Thanks
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.
I am assuming this second step will still use the custom transport.
Yes thats true.
You can take a look at the directory that you configured via:
https://github.com/getsentry/sentry-native/blob/0e94e49f442b75da4cf4048e25d577cd581a7b09/include/sentry.h#L960-L990