Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reanimated-2-playground example crash in debug mode #1220

Closed
caiphaav opened this issue Sep 12, 2020 · 9 comments
Closed

Reanimated-2-playground example crash in debug mode #1220

caiphaav opened this issue Sep 12, 2020 · 9 comments

Comments

@caiphaav
Copy link

crash

Steps To Reproduce

  1. Copy playground repo git@github.com:software-mansion-labs/reanimated-2-playground.git

  2. Install dependencies && run application

  3. Turn on debug mode

  4. App unfortunately crash

    "react": "16.13.1",
    "react-native": "0.63.1",
    "react-native-gesture-handler": "^1.6.1",
    "react-native-reanimated": "2.0.0-alpha.6"

@caiphaav caiphaav changed the title Reanimated-2-playground example crash on debug mode Reanimated-2-playground example crash in debug mode Sep 12, 2020
@terrysahaidak
Copy link
Contributor

Since the app is running with TurboModules enabled, there is no way to enable debugger with TurboModules just yet.

You can learn more about some of the limitations here:
https://docs.swmansion.com/react-native-reanimated/docs/next#known-problems-and-limitations

@caiphaav
Copy link
Author

Since the app is running with TurboModules enabled, there is no way to enable debugger with TurboModules just yet.

You can learn more about some of the limitations here:
https://docs.swmansion.com/react-native-reanimated/docs/next#known-problems-and-limitations

Thanks for your answer!
Reanimated is my favourite library in RN and i want to use Reanimated2 in my current project.
Maybe this feature will come in the upcoming releases?

@jakub-gonet
Copy link
Member

This is related to turbomodules and not to Reanimated, so we have to wait for support from RN. Debugging works by running app js in the browser and when you bind to the native C++ methods this is impossible to do (at the moment, at least). You can use Flipper to debug applications with Turbomodules enabled.

@johnnyfekete
Copy link

Thanks @jakub-gonet, your solution worked for me!

Instead of enabling debugging, I downloaded Flipper from https://fbflipper.com/
And boom, all the logs show up in that!

@zhaiyjgithub
Copy link

@jakub-gonet Thanks.

@scott-schibli
Copy link

Are there any debuggers that are currently compatible with expo and turbomodules?

@ZeeshanAhmadKhalil
Copy link

flipper consols are not better than chrome developer consoles

@maqeelqureshi
Copy link

How can I debug source code line by line?

@megabayt
Copy link

Is it possible to "mock" animations when debugger is enabled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants