Skip to content

Sentry.captureMessage Stack Trace is not symbolicated #3097

@csath

Description

@csath

Environment

What version are you running? Etc.

@sentry/cli@2.17.1
@sentry/core@7.47.0
@sentry/hub@7.47.0
@sentry/integrations@7.47.0
@sentry/react-native@5.3.1

Steps to Reproduce

  1. I try to upload debug files using following command ion iOS
    ../node_modules/@sentry/cli/bin/sentry-cli debug-files upload "$INCLUDE_SOURCES_FLAG" "$DWARF_DSYM_FOLDER_PATH" --project XXX

  2. I can see that the debug-files and source maps are uploaded under Sentry project settings.

  3. I try to test following scenarios in my app

  • Invoke Sentry.captureException() -> Sentry logs correctly point to the exact line number in the JS file ✅
  • Enable enableCaptureFailedRequests: true & simulate a network error -> Works as expected, Sentry shows the network error logs ✅
  • Invoke Sentry.captureMessage('Logging information for testing', 'warning') -> Sentry captures the log but says 'Source code was not found' ❓
    image
  • Invoke Sentry.nativeCrash() to simulate a native crash -> Sentry captures the error but says 'A required debug information file was missing'❓ image

Some of the logs are readable and only crashes and Sentry.captureMessage are having issues finding the correct symbols and debug files.

Expected Result

Native crashes and Sentry.captureMessage should map debug symbols and point to the exact error.

More information

Sourcemaps and debug files are uploaded in Sentry.
image
image

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

Done

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions