react-native icon indicating copy to clipboard operation
react-native copied to clipboard

0.72 Regression in Direct Debugging on Android

Open lunaleaps opened this issue 1 year ago • 3 comments

Description

When bootstrapping a new 0.72.x app, I am unable to debug the app following the direct debugging instructions.

React Native Version

0.72

Output of npx react-native info

N/A

Steps to reproduce

  • npx react-native init MyApp
  • Add debugger; statement to App.tsx
  • Have metro running via yarn start in my project
  • Follow instructions for direct debugging via chrome://inspect, open devtools
  • Reload the app, the debugger does not stop at the breakpoint

Snack, code example, screenshot, or link to a repository

See instructions above

https://github.com/facebook/react-native/assets/1309636/d5befe38-6ba9-46cf-90e7-8d5290a14133

lunaleaps avatar Jul 05 '23 19:07 lunaleaps

:warning: Add or Reformat Version Info
:information_source: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.70.2

github-actions[bot] avatar Jul 05 '23 19:07 github-actions[bot]

Fix is here: https://github.com/facebook/react-native/commit/41477c898cf5726eae9edbb1596366a6eea2b01e TBD, verify fix

lunaleaps avatar Jul 07 '23 19:07 lunaleaps

i have still this issue on RN 0.72

faheem-cmd avatar Jul 08 '23 09:07 faheem-cmd

same problem here

emanuelasistensi avatar Jul 12 '23 15:07 emanuelasistensi

What version are you guys in? The fix was picked into 0.72.2, we just released 0.72.3. Have you tried those versions?

lunaleaps avatar Jul 12 '23 15:07 lunaleaps

0.72.1, 0.72.2 and 0.72.3

emanuelasistensi avatar Jul 12 '23 15:07 emanuelasistensi

Captura de pantalla 2023-07-12 a la(s) 11 59 57 a  m Captura de pantalla 2023-07-12 a la(s) 12 00 13 p  m

That appears to me right after you enabled the debugger.

emanuelasistensi avatar Jul 12 '23 16:07 emanuelasistensi

Any fix?

20chad16 avatar Sep 03 '23 15:09 20chad16

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Mar 02 '24 05:03 github-actions[bot]

need a conclusion

lovetingyuan avatar Mar 04 '24 14:03 lovetingyuan

same problem here since updating to 0.73.8, what are we supposed to debug with ? I cant even access my app since updating because of this error

Lakston avatar May 22 '24 15:05 Lakston