Open Bug 1759693 Opened 3 years ago Updated 3 years ago

Stored breakpoints should automatically expire

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: Honza, Unassigned)

References

(Blocks 1 open bug)

Details

The Debugger is currently persisting all breakpoints within Firefox storage and there is no way to clean up it. This might be a problem since the amount of breakpoins the can grow over years and have negative impact on performance. It's easy to create breakpoints in a script and never load that script again.

It would be great it every breakpoint is auto-removed after some time (few weeks? a month?)

We might want to thing about the following:

  • Storing each breakpoint with a time stamp, so we know its age.
  • Updating the timestamp if the breakpoint is active (e.g. hit in debugger, the parent script loaded, etc.)
  • One time action: Remove all breakpoints users have persisted (when introducing this new feature)

Honza

You need to log in before you can comment on or make changes to this bug.