Open Bug 1604865 Opened 5 years ago Updated 2 years ago

Support shape watchpoint for all instances of an object

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: jlast, Unassigned)

References

(Blocks 1 open bug)

Details

Currently, watchpoints are managed via Object.defineProperty on a per-instance basis. This means that it is impossible to have a single watchpoint for many instances of the same object.

  • local variables declared in a function
  • all instances of a class ...

One way to support local variables would be via a hidden breakpoint that pauses temporarily to add a watchpoint if it doesn't exist.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.