question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

app crashes if debugging mode is enabled

See original GitHub issue

Description

I am using react-native-reanimated as a dependency of react-native-draggable-flatlist. Since I started using reanimated, app crashes if debugging mode is enabled. Once I uninstall reanimated package then app runs in debugging mode perfectly.

Screenshots

Screenshot_1611898820

Steps To Reproduce

  1. Just install the react-native-reanimated as per docs and then enable debugging mode. You can encounter this error

Expected behavior

debugging mode should work as usual

Actual behavior

app crashes if debugging mode is enabled

Snack or minimal code example

No specific code is required. Just installing the package is sufficient.

Package versions

  • React: “16.13.1”
  • React Native: “0.63.2”
  • React Native Reanimated:“2.0.0-rc.2”
  • NodeJS: v10.16.2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:26 (1 by maintainers)

github_iconTop GitHub Comments

17reactions
valery-lavrikcommented, Feb 7, 2022
4reactions
wodCZcommented, Dec 16, 2021

This is not related just to reanimated and the debugger support is not a thing reanimated can “fix”, since it’s because of react native architecture (or better, turbo modules). While it’s annoying that the app just crashes when you enable remote debugging, it doesn’t seem that reanimated can do anything more than adding a huge warning box to the installation instructions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android app crashes when launched in debug mode
This is due to some problem with debug points. Remove all the debug points and then it should work.
Read more >
Debugging - Expo Documentation
Usually, debugging when running your app locally with Expo CLI is pretty easy, thanks to all the tools available in the Expo Go...
Read more >
debugging crashes app, yet running without debugging doesn't
I have both 2017 and 2019 visual studio. a few days ago a programme i was writing crashed it came up with the...
Read more >
Loop that works in debug but not release. - Apple Developer
Lots of compiler optimizations are enabled in release but not in debug mode because they require extra compile time, which gets pesky during...
Read more >
Debug using the Just-In-Time Debugger - Visual Studio
If Just-In-Time debugging doesn't start when an app crashes, even though it is enabled in Visual Studio: Windows Error Reporting could be taking ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found