Open Bug 1723475 Opened 3 years ago Updated 3 years ago

Breakpoints with invalid sources should be displayed differently / hidden on navigation

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

See the STRs in https://bugzilla.mozilla.org/show_bug.cgi?id=1723440

When users create breakpoints which don't have a valid sourceURL or sourceID, we don't manage to persist those breakpoints. This means that on navigation, they will be lost.

However, in Bug 1723440, after reloading, you can still manage to open the "invalid" source where the breakpoint was set (in a tab called "SOURCE"), and you still see the breakpoint. But at that point, no breakpoint is set on the server anymore, since the source object was actually destroyed.

It would be nice to show some user feedback when we fail to store breakpoints, and maybe we should remove such breakpoints on reload.

Setting as defect for triage discussion but we might move it as enhancement.

See Also: → 1723440
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.