-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Objects cannot be copied from console debugger or logged into console using JSON.stringify() #43258
Labels
Comments
|
upgrading to the latest stable version doesnt fix the issue, yet |
I am using react-native version 0.73.6 |
related to #43838 |
@krisidmisso Thanks for raising this. We've confirmed this was a regression 0.73 and will be pursuing a fix. |
This was referenced Apr 24, 2024
This has been fixed in the latest patches for 0.73 and 0.74 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
Objects cannot be copied inside the console debugger (Chrome inspect/DevTools). Even
console.log(JSON.stringify(object))
doesnt log the correct string. Both methods copy or log just the first character{
or[
Tried also upgrading RN but the issue is the same as it was for some other versions previously. May be related to facebook/hermes#761
Steps to reproduce
--experimental-debugger
(react-native start --experimental-debugger
)i
ora
(doesnt matter)j
in the metro terminal to open the debugger or go to chrome://inspect#devices like in the docsconsole.log
an object. Ie:console.log({a:1, b:'string', c: 'test'})
React Native Version
0.73.1
Affected Platforms
Runtime - Android, Runtime - iOS
Output of
npx react-native info
Reproducer
https://github.com/krisidmisso/rn-debugger-issue
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: