Skip to content

Debugger Steps Through Ignored Files #51199

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

Open
3flippa opened this issue May 8, 2025 · 5 comments
Open

Debugger Steps Through Ignored Files #51199

3flippa opened this issue May 8, 2025 · 5 comments
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue.

Comments

@3flippa
Copy link

3flippa commented May 8, 2025

Description

I'm trying to use the Sources tab in DevTools to efficiently debug my application. Unfortunately, the debugger is stepping through not only the files I've authored but also files inside the node_modules directory—even ones I've configured to be ignored.

This significantly degrades the development experience, as it clutters the debugging flow and makes it hard to focus on the logic relevant to my own code.

Steps to reproduce

  1. create a simple expo or rn project
  2. use sources tab to debug

React Native Version

0.79.2

Output of npx @react-native-community/cli info

info Fetching system and libraries information...
System:
  OS: Windows 11 10.0.26100
  CPU: (16) x64 AMD Ryzen 7 PRO 4750U with Radeon Graphics   
  Memory: 3.09 GB / 15.23 GB
Binaries:
  Node:
    version: 20.18.3
    path: C:\Program Files\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 10.8.2
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-242.23339.11.2421.12550806
  Visual Studio: Not Found
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Screenshots and Videos

Image

@react-native-bot react-native-bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels May 8, 2025
@react-native-bot
Copy link
Collaborator

Warning

Missing reproducer: We could not detect a reproducible example in your issue report. Reproducers are mandatory and we can accept only one of those as a valid reproducer:


You can read more about about it on our website: How to report a bug.

@3flippa
Copy link
Author

3flippa commented May 8, 2025

i honestly think because of the basic nature of the bug there is no need for a reproducer template

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels May 8, 2025
@cipolleschi
Copy link
Contributor

Hi @3flippa thanks for the issue. We realized that we fixed the issue in a few commits that landed in Hermes after we released 0.79.
We already have the fix ready and it will be shipped in 0.79.3.

@AndreiDIT98
Copy link

AndreiDIT98 commented May 16, 2025

@cipolleschi

Is there really no fix or workaround planned for those who, for any reason, are not ready to migrate to version 0.79.3? For instance, I am still actively developing and maintaining apps that rely on 0.76.2.

At the moment, debugging with DevTools and breakpoints is almost unusable, especially when dealing with async/await functions. The debugger will wildly jump into a lot of foreign/3rd party files.

@3flippa
Copy link
Author

3flippa commented May 16, 2025

@cipolleschi
most perfect resopnse i ever got haha. thank u very much.
do u know when this version will be shipped?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue.
Projects
None yet
Development

No branches or pull requests

4 participants