sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

iOS native support - C++ exception stack trace

Open bitsandfoxes opened this issue 1 year ago • 10 comments

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 image

Sample Event https://sentry-sdks.sentry.io/issues/4062125558/events/bf9c776b3b5c43ffb6ab1e55b580711a/

bitsandfoxes avatar Apr 04 '23 19:04 bitsandfoxes