sentry-react-native icon indicating copy to clipboard operation
sentry-react-native copied to clipboard

Mismatched line numbers when using RAM Bundles

Open marandaneto opened this issue 4 years ago • 3 comments

When using https://reactnative.dev/docs/ram-bundles-inline-requires line numbers may be mismatched, the reason is unknown, could be that RN generates already mismatched line numbers or Sentry symbolication do it wrongly.

Removing extraPackagerArgs: ["--indexed-ram-bundle"] does not help. Tested on latest RN (66.3) and latest Sentry RN (3.2.5)

marandaneto avatar Dec 06 '21 09:12 marandaneto

Project test: https://sentry.io/organizations/sentry-sdks/issues/?project=5998334

Line number should have been 19

Screenshot 2021-12-06 at 10 56 23

Line number should have been 18

Screenshot 2021-12-06 at 10 57 00

marandaneto avatar Dec 06 '21 09:12 marandaneto

@jan-auer have you had the time to look into it? thanks.

marandaneto avatar Mar 11 '22 13:03 marandaneto

Likely related to https://github.com/facebook/metro/issues/399

marandaneto avatar Apr 27 '22 12:04 marandaneto