Closed Bug 1540848 Opened 6 years ago Closed 6 years ago

Pending breakpoints are not cleared during sync

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox68 fixed)

RESOLVED FIXED
Firefox 68
Tracking Status
firefox68 --- fixed

People

(Reporter: jlast, Assigned: bhackett1024)

References

Details

Attachments

(1 file)

STR:

  1. go to localhost:8000
  2. add a breakpoint in actions/pause/paused.js line 36
  3. in your editor add a comment to the beginning of the file
  4. reload (notice how the breakpoint slides down to 37
  5. in the browser toolbox, select the debugger.html frame in the top right and evaluate JSON.stringify(Object.keys(await dbg.asyncStore.pendingBreakpoints))

notice how there are two pending breakpoint keys at 36 and 37.

The reason for this is that this line checks if the breakpoint is registered and not the pending bp.

Assignee: nobody → bhackett1024
Priority: -- → P2
Pushed by bhackett@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/0098b0fdcd95 Fix various problems with breakpoint syncing, r=loganfsmyth.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: