You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
app crashes when enabling remote JS debug (after updating to new RN version) #14672
After updating to v0.45.1, the app crashes whenever I enable remote debugging. I tried to deleted all node_modules and reinstall them as well as reset simulator. Both are not helpful. In the end, I have to download to previous version and it just works fine. I am not sure how to deal with that.
Reacted by Aurnik, Jacob Lauritzen, Joey Baker, Peita Lin, ali and Nam Vuong
Can you provide more information about your issue, I haven't had problems with remote debugging in v0.45.1. Which simulator are you using (iPhone 6, 7 ...), what iOS version are you on and please provide the system-logs (iOS Simulator > Menu Bar > Debug > Open System Log)
@RyanWan When you say you downgraded to the previous version do you mean 0.45.0?
This doesn't really solve your situation but I also was trying 0.45.1 with the debugger it seems like there are a lot of new issues introduced with performance.
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.
I'm going to try using Expo next, but on 0.50.1 the remote debugging experience for react-native-init projects has been less than favorable on both platforms 🙁Rather frequently I get RSOD saying "cannot connect to development server", or even a WSOD where the app doesn't load and in Xcode I get that classic thread 1: exception. On Android there's all kinds of weird build errors I run into.
Activity
formatlos commentedon Jun 22, 2017
Can you provide more information about your issue, I haven't had problems with remote debugging in v0.45.1. Which simulator are you using (iPhone 6, 7 ...), what iOS version are you on and please provide the system-logs (iOS Simulator > Menu Bar > Debug > Open System Log)
tabrindle commentedon Jun 22, 2017
If you run
npm i -g envinfothenenvinfo --packages react,react-native, you will get an output of all the relevant debug information like this:RyanWan commentedon Jun 22, 2017
OS: macOS Sierra
Node: v4.4.0
Yarn: 0.24.4
npm: 4.2.0
Xcode: Xcode 8.2.1 Build version 8C1002
Android Studio: 2.3 AI-162.3934792
react: ^16.0.0-alpha.12
react-native: ^0.45.1
Simulator: iPhone 6
iOS: 10.2
aurnik commentedon Jun 22, 2017
@RyanWan When you say you downgraded to the previous version do you mean 0.45.0?
This doesn't really solve your situation but I also was trying 0.45.1 with the debugger it seems like there are a lot of new issues introduced with performance.
RyanWan commentedon Jun 23, 2017
@aurnik I downgraded to 0.44.0, the version I used before the upgrade
Jacse commentedon Jul 7, 2017
Experiencing this as well. Environment:
Error in logs:
fatal][tid:main] Exception '*** -[__NSArrayI objectAtIndex:]: index 2 beyond bounds [0 .. 1]' was thrown from JS threadJacse commentedon Jul 7, 2017
For the record it happened after upgrading to
0.45.1from0.44.Jacse commentedon Jul 7, 2017
Duplicate of #14288
hramos commentedon Sep 21, 2017
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.
Albinzr commentedon Dec 4, 2017
Still crashing
llzz19851985 commentedon Dec 19, 2017
Still crash on version :0.50.3
havinhthai commentedon May 26, 2018
Still on version 0.55.4
Albinzr commentedon May 27, 2018
Im giving up on RN, Not worth for production apps
SSTPIERRE2 commentedon Jun 7, 2018
I'm going to try using Expo next, but on 0.50.1 the remote debugging experience for react-native-init projects has been less than favorable on both platforms 🙁Rather frequently I get RSOD saying "cannot connect to development server", or even a WSOD where the app doesn't load and in Xcode I get that classic thread 1: exception. On Android there's all kinds of weird build errors I run into.
brayanL commentedon Aug 28, 2018
What is the solution? in a day of development with the debugger enabled my application dies at least 15 times.