Skip to content

Breakpoints are inconsistent after fast refresh (hot reload) #49069

Closed
@vzaidman

Description

Description

Breakpoints are inconsistent after fast refresh (hot reload) and this becomes worse with every hot reload

Steps to reproduce

  1. Launch rn-tester
  2. Open the debugger from metro with j
  3. Fast refresh a few times by updating the code
  4. Set some breakpoint

Observe:
It sets many breakpoints for each breakpoint set in unexpected places / breakpoints jump / breakpoints are inconsistent

React Native Version

0.77.0

Screenshots and Videos

Screen.Recording.2025-01-30.at.15.42.39.mov

Metadata

Assignees

No one assigned

    Labels

    DebuggerIssues related to React Native DevTools or legacy JavaScript/Hermes debuggingImpact: BugThe issue represents a bug somewhereResolution: FixedA PR that fixes this issue has been merged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions