jhen0409 / react-native-debugger

The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
MIT License
10.37k stars 810 forks source link

Remote DevTools loses connection to RN app #447

Open dgobaud opened 4 years ago

dgobaud commented 4 years ago

this old issue seems to be back https://github.com/zalmoxisus/redux-devtools-extension/issues/193

But to me it seems like an RN Debugger bug. It is in RN Debugger in the console log I see the error. I'm not using the Chrome extension.

seems to happen randomly in the RN Debugger console it says "[React DevTools] Connection to RN closed" same time app shows error below

React Native Debugger app version: 0.10.5 React Native version: 0.61.5 Platform: iOS Is real device of platform: simulator Operating System: macOS

Runtime is not ready for debugging. Make sure Packager server is running.

RCTFatal
-[RCTCxxBridge handleError:]
__21-[RCTCxxBridge start]_block_invoke
invocation function for block in facebook::react::(anonymous namespace)::RCTObjcExecutor::RCTObjcExecutor(id<RCTJavaScriptExecutor>, void (NSError*) block_pointer, std::__1::shared_ptr<facebook::react::MessageQueueThread>, std::__1<facebook::react::ExecutorDelegate>)
__58-[RCTWebSocketExecutor _executeJSCall:arguments:callback:]_block_invoke
__44-[RCTWebSocketExecutor sendMessage:onReply:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_lane_serial_drain
_dispatch_lane_invoke
_dispatch_workloop_worker_thread
_pthread_wqthread
start_wqthread
tmaly1980 commented 4 years ago

Any idea what's causing this? Or how to fix it? This is really frustrating when I have to restart my debugger every few minutes while working on an app!

admbtlr commented 4 years ago

Same here. This suddenly started happening last week, and now I have to restart every couple of minutes.

evelant commented 4 years ago

Same here, debugger randomly drops connection every 20-40 seconds. Can't really use it for anything anymore. It also kills performance in the app to the point of making it unusable even for debug purposes. This happens both in the android studio emulator and a fast physical device (galaxy s9+).

lon9man commented 4 years ago

+1

rpinna commented 4 years ago

Same, expo sdk 37, redux toolkit.

davidecarpini commented 4 years ago

+1

anisimov74 commented 3 years ago

I have the same problem with the version 0.10.11