Open PRESIDENT810 opened 2 months ago
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.73.9. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
I'm trying to use the new experimental debugger in our RN project, but in the DevTool window it says this:
Please update to 0.76.x and try React Native DevTools over there. We don't offer support for the experimental debugger for previous versions of React Native.
I'm trying to use the new experimental debugger in our RN project, but in the DevTool window it says this:
Please update to 0.76.x and try React Native DevTools over there. We don't offer support for the experimental debugger for previous versions of React Native.
OK let me try that (it might take some time to upgrade RN because it's a huge project but I'll try to get back to you ASAP)
Description
I'm trying to use the new experimental debugger in our RN project, but in the DevTool window it says this:
and can't fetch the source map, thus no source code is shown.
Here're some interesting I've found:
I can access this URL in Safari and in CLI using
wget
andcurl
, but I got this when I open it in Chrome:I noticed this using Chrome's dev tools:
https://github.com/user-attachments/assets/54f9a1d7-cc13-4b0f-a2ce-30dd38225ce6
The "content download" always gets killed after around 3.5s, and then it becomes "Aw Snap!"
My assumption is that because our source map is so big, Chrome isn't able to download it within a time limit (so the download is always canceled after 3.5s) but I have no idea of how to verify that. Not sure if this is a Chrome bug or RN bug but I'll post it here anyway.
Steps to reproduce
Just launch the experimental debugger on some huge app with ~200MB source map, I guess?
React Native Version
0.73.6
Affected Platforms
Build - MacOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
I really don't know how to reproduce this on smaller projects
Screenshots and Videos
Included some in the description.