Open Bug 638053 Opened 14 years ago Updated 2 years ago

The Debugger object should provide watchpoint functionality

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: jimb, Unassigned)

References

(Depends on 1 open bug, Blocks 3 open bugs)

Details

The Debug object (bug 636907) should provide watchpoint functionality to replace Object.prototype.watch. It should be possible to watch individual properties on specific objects, and all properties on a given object (bug 638044).
Blocks: 638054
Component: JavaScript Debugging/Profiling APIs → JavaScript Engine
Summary: The Debug object should provide watchpoint functionality → The Debugger object should provide watchpoint functionality
Jim has specified a new API for this:

  https://wiki.mozilla.org/Debugger
  search for "setObjectWatchpoint" and "setPropertyWatchpoint"

I will try to get this implemented next week. It should be straightforward since we can reuse the existing watchpoint code.
HURRAH
Sorry, I forgot I had said that. I'll look into it after bug 716647. I might do some Environment work instead.
Would Object.observe (bug 800355) cover all the needs here or will this bug require features that are not (and cannot be) part of the Object.observe feature?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.