Hi!
My remaining problem now is that I'm not seeing any crashes reported in the Browser.
NB I'm provoking a crash in response to a menu item within the app, which calls this code:
// Force crash report for sentry.io
int* crashPtr = nullptr;
*std::launder(crashPtr) = 0;
The app does indeed crash as expected, but for the avoidance of doubt, I see no report about this on the sentry.io website.
I've enabled this line as requested:
sentry_options_set_debug(options, 1);
NB I don't know if this is relevant, but I've noticed that, whether or not I crash the app, or have the sentry_options_set_debug call, I'm no longer seeing anything reported on the sentry.io site sent from sentry_capture_event(...) ... unless I modify the "message" parameter in the call below.
In otherwords, only the first call is reported on the site. Subsequent calls aren't reported on the site.
sentry_capture_event(sentry_value_new_message_event(
/* level / SENTRY_LEVEL_INFO,
/ logger / "custom",
/ message */ "Prepare to crash..."
));
Hopefully you see something useful on the server! :)
Best wishes,
Pete
Hi!
My remaining problem now is that I'm not seeing any crashes reported in the Browser.
NB I'm provoking a crash in response to a menu item within the app, which calls this code:
The app does indeed crash as expected, but for the avoidance of doubt, I see no report about this on the sentry.io website.
I've enabled this line as requested:
sentry_options_set_debug(options, 1);
NB I don't know if this is relevant, but I've noticed that, whether or not I crash the app, or have the sentry_options_set_debug call, I'm no longer seeing anything reported on the sentry.io site sent from sentry_capture_event(...) ... unless I modify the "message" parameter in the call below.
In otherwords, only the first call is reported on the site. Subsequent calls aren't reported on the site.
sentry_capture_event(sentry_value_new_message_event(
/* level / SENTRY_LEVEL_INFO,
/ logger / "custom",
/ message */ "Prepare to crash..."
));
Hopefully you see something useful on the server! :)
Best wishes,
Pete