jhen0409 / jhen0409/react-native-debugger

Variable inspection shows incorrect values

Open
#294 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.4k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

This is a really odd bug. When using `react-native-debugger` sometimes my variables show the wrong values. This does not occur in the React Native browser debugger.

### Example cases:

`optValue` is always either `true` or `false` but the debugger shows:

![image](https://user-images.githubusercontent.com/6835891/49474704-57f34e00-f7e3-11e8-8318-322d7376ea9b.png)

`currentUser` is always an `object`, but the debugger shows:

![image](https://user-images.githubusercontent.com/6835891/49474790-9e48ad00-f7e3-11e8-8063-77fbfd21a129.png)

React Native Debugger app version: 0.8.1
React Native version: 0.57.1 (Expo SDK 31)
Platform: Android 9.0
Is real device of platform: Yes, real device debugged over Wi-Fi
Operating System: Windows 7 x64

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.