react-native-debugger
react-native-debugger copied to clipboard
Freezes after connection
I installed it yesterday and it was working somewhat fine with occasional freezes, that force-quiting RND seemed to help with.
But today it freezes every time I launch our app, regardless of if it is a clean run or not. I've also tried deleting the React Native Debugger directory from Application Support dir on my Mac without luck.
The debugger says: "Paused before potential out-of-memory crash" The Redux debugger says: "Paused in debugger"
The RND helper processes are using all the CPU they can get.
React Native Debugger app version: 0.7.20 (latest) React Native version: 0.55.4 (Expo) Platform: iOS Is real device of platform: Real device Operating System: macOS
It might be linked to #36 - but since that issue is closed after a fix was introduced I'm hoping it's something else.
Hi @andrioid ,
same issue today. It seems that I added a complete instance of class (external lib, here the navigator from React-Navigation) in my redux store, just after the set, the React-Native-Debugger crashed.
I remove this set from my redux store and now, React-Native-Debugger runs perfectly.
Hope it can help you...
Hi @windu02 - I used the state sanitizer in the redux-devtools-extension configuration to strip my 'ref' away and the problem is solved. Maybe some serialization issue with "weird" objects.
I've been having this same issue on Linux. I have to kill the process and restart it. It's very sporadic when it freezes on me. Sometimes I go several days without it freezing, and other times, it freezes immediately every time I run it. I know this isn't a very specific description of the error, but that's what is weird about it, I can't seem to figure out any rhyme or reason why it freezes.
My OS is Ubuntu 18.04
I'm using React Native 0.55.4
I'm using redux 4.0.0
I'm using rnd 0.7.20
I'm using node 8.11.3
I have the same issue with this environment:
OS MacOS 10.14.6
React Native 0.58.5
node 10.15.3
Xcode 10.3
Somehow after an OS update, the react native debugger just stopped accepting connections from the app.
I've tried RND with versions 0.9.7
, 0.9.9
, 0.9.12
.
I'm not sure if I experienced the exact same issue, but it seems similar. If RND is left running for a while it starts using a significant amount of RAM, so maybe there is a memory leak. This eventually leads to RND completely freezing.
I initially experienced this on a low-end MacBook Air and assumed the limited hardware may be a factor, but I was surprised to find it also crashes on a MacBook Pro with 16gb of ram.
I am facing the same issue on 0.11.5
:
System:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Memory: 503.30 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.13.1 - ~/.nvm/versions/node/v12.13.1/bin/node
Yarn: 1.22.4 - ~/Documents/youpendo-app-bareworkflow/node_modules/.bin/yarn
npm: 6.12.1 - ~/.nvm/versions/node/v12.13.1/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
Android SDK:
API Levels: 28, 29
Build Tools: 28.0.3, 29.0.2
System Images: android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6392135
Xcode: 12.0.1/12A7300 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_232 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: ^4.8.0 => 4.13.0
react: 16.13.1 => 16.13.1
react-native: 0.63.3 => 0.63.3
react-native-macos: Not Found
Any solution?