-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.77] DevTools Profiler/Components doesn't initialize with JS Dev Mode off #49180
Comments
Warning Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
|
Potentially related to #49158 |
Blimey, we learn about a new buried dev feature every week 🤣. Will look into this. |
@react-native-bot This happens in RNTesterPlayground.js with no changes and following supplied reproduction steps. |
I have run into this same heap snapshot in my own project, but this doesn't happen in a fresh project. |
This part is critical, and this is expected behaviour. The React DevTools panels won't function if there is no development bundle running.
|
Interesting, this link https://reactnative.dev/docs/profiling says to turn dev mode off. Is this referring to something else? Can you advise me on how to turn development mode off and still profile? Thanks so much. |
Description
I have upgraded to react-native 0.77.0 to use the new devtools which looks awesome. Unfortunately when I try to measure performance on my app with JS Dev Mode disabled the devtools profiler won't connect. Both the Profiler and Components tab will not load. Hope I'm just missing something. This wasn't working on my project so I tried with a fresh init react-native project and found the same result.
Note: This is working with JS Dev Mode enabled.
Thanks for any information!
Steps to reproduce
For me the reproduction steps are:
Expected Result: Profiler initializes and can be used
Actual Result: Profiler fails with error "Failed to wait for initialization: it took too long"
React Native Version
0.77.0
Output of
npx react-native info
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: