sentry-unity
sentry-unity copied to clipboard
iOS native support - C++ exception stack trace
Calling
extern "C" {
void throw_cpp()
{
try {
// throws std::length_error
std::string("1").substr(2);
} catch (const std::exception &e) {
std::cout << e.what() << '\n';
throw;
}
}
}
leads to an event that lacks an actionable stack trace
Sample Event https://sentry-sdks.sentry.io/issues/4062125558/events/bf9c776b3b5c43ffb6ab1e55b580711a/