joltup / react-native-threads

Create new JS processes for CPU intensive work
MIT License
755 stars 141 forks source link

Unable to run in debug mode on ios #70

Open ingviso opened 5 years ago

ingviso commented 5 years ago

When running in debug mode on Xcode, I always get "runtime is not ready for debugging. Make sure Packager server is running"

Running in release works fine.

Debug mode only works when I comment out all the code related to react-native-threads.

Has anyone else had this issue?

crubier commented 5 years ago

I'm having it right now... investigating

maheshp27 commented 5 years ago

I am also facing the same while running on iOS. No issue on Android. Please help if any one has resolved this?

crubier commented 5 years ago

Yes, solved this on our side:

This happens when running the react native remote debugguer and react-threads at the same time. Disable remote debugger (Shake or CMD-D in simulator, disable remote debugging)

https://github.com/joltup/react-native-threads/issues/3

Use reactotron for logging instead

maheshp27 commented 5 years ago

@crubier, Thanks for the response but I am not using remote debugger and still facing the issue.

crubier commented 5 years ago

Then you're out of luck ! 🤷‍♀️