-
Notifications
You must be signed in to change notification settings - Fork 24.6k
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
New Debugger: Application under debug crashes when I want to step over an async method #49833
Comments
Warning Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
|
Hi @ursmeili! Thanks for opening the issue. I forwarded it to the people in our DevX team that maintain Metro and React Native DevTools |
I noticed that stack exceeded errors are showing in a lot of places, e.g. when hovering over a simple object which contains 2 functions: Also, sometimes, during debugging, suddenly stack overflow errors begin to flood the log Shortly after this happens, the application usually crashes and the debugger disconnects. I really need help on this, it's almost impossible to debug RN applications currently. |
We are seeing this issue also internally, so the team is taking care of it! |
👎 not true - after a while, it begins to crash on mac too, with the same symptomatics. Altough it seems to last longer until the crashes begin to happen. |
@huntie can you have a look at this? |
@ursmeili Thanks for raising! We're treating this as a hi-pri bug — might take some time to resolve since we'll need to make fix in Hermes which we're pursuing.
|
@huntie thanks a lot for looking into this. I just wonder why nobody else seem to have this problem - after all, working with promises is very common. Maybe most people still actually don't use the RN debugger, but rather I still think the bug is far worse if the debugger runs on Windows than on macOS, for some reason. On Windows, it usually crashes after just a few "F10" steps, whereas on macOS, I can work in the debugger for like 15 minutes before it eventually crashes. But it could just be coincidence of course. |
@vpume Yeah! I also suspect out of the subset of people using breakpoints, a smaller subset actually use step over/step out(!), where the former (play/pause basic use) works fine in all cases. |
Description
When I use the new debugger, and I step over an async method using F10, the application under debug usually crashes. I have attached a GIF which shows the problem.
Because of this problem, the debugger is essentially useless.
When crashing, the following error is logged:
my dependencies from package.json:
Steps to reproduce
I cannot reproduce this with a small project.
React Native Version
0.76.7
Output of
npx @react-native-community/cli info
Screenshots and Videos
The text was updated successfully, but these errors were encountered: