react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

Remote DevTools loses connection to RN app

Open dgobaud opened this issue 4 years ago • 7 comments

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

dgobaud avatar Dec 23 '19 09:12 dgobaud

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!

tmaly1980 avatar Jan 11 '20 19:01 tmaly1980

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

admbtlr avatar Jan 27 '20 14:01 admbtlr

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+).

evelant avatar Feb 20 '20 20:02 evelant

+1

lon9man avatar Mar 25 '20 09:03 lon9man

Same, expo sdk 37, redux toolkit.

rpinna avatar Apr 14 '20 22:04 rpinna

+1

davidecarpini avatar May 29 '20 07:05 davidecarpini

I have the same problem with the version 0.10.11

anisimov74 avatar Dec 08 '20 14:12 anisimov74