Closed Bug 568140 Opened 14 years ago Closed 12 years ago

Implement js::dbg2::Breakpoint

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jimb, Unassigned)

References

(Blocks 2 open bugs)

Details

Implement the js::dbg2::Breakpoint class, including insertion and removal. This entails:

* turning the various sorts of breakpoint locations into JSScript,offset pairs
* searching JSScript lists to insert and remove traps
* managing multiple breakpoints set at the same bytecode
* inserting traps for existing breakpoints into newly loaded code (pending breakpoints)
* coping with scripts being garbage collected
* interlocking with JägerMonkey to insure that breakpoints are never set in functions that have JM frames on the stack
Blocks: 568141
Component: JavaScript Debugging/Profiling APIs → JavaScript Engine
We're not going to implement the C++-level API described in this bug. This feature is already implemented in the Debugger API: https://wiki.mozilla.org/Debugger
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.