Closed Bug 1582088 Opened 5 years ago Closed 4 years ago

Watchpoint disappears after resume

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1604865

People

(Reporter: Honza, Unassigned)

References

(Blocks 1 open bug)

Details

This is weird, since it works on other test page, but here are the STRs:

  1. Load https://dbg-mutation.glitch.me/
  2. Create BP on line 9 in client.js
  3. Hit the stuff button, break in debugger
  4. Create set WP for obj.b
  5. Resume three times (twice on the WP once one debugger; statement)
  6. Remove the BP on line 9
  7. Hit the stuff button, Debugger doesn't break on the WP -> BUG

ER: the WP should still be there and the Debugger should pause on it.

Also, the WP isn't there anymore.

I am on Win10 + Nightly

Honza

Summary: Watchpoints disappears after resume → Watchpoint disappears after resume

The reason for that is that the watchpoint is associated with a local variable obj which is GCd when you leave the stuff function.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.