Implement js::dbg2::Breakpoint

RESOLVED WONTFIX

Status

()

RESOLVED WONTFIX
9 years ago
6 years ago

People

(Reporter: jimb, Unassigned)

Tracking

(Blocks: 2 bugs)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
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
(Reporter)

Updated

9 years ago
Blocks: 568141
(Assignee)

Updated

7 years ago
Component: JavaScript Debugging/Profiling APIs → JavaScript Engine
Product: Core → Core
(Reporter)

Comment 1

6 years ago
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
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.