Closed Bug 1211906 Opened 9 years ago Closed 9 years ago

[jsdbg2] add Debugger.Script method to see if offset is a stopping point

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 863089

People

(Reporter: tromey, Assigned: tromey)

Details

script.js and perhaps other places use this to see if a step lands
on a stopping point:

if (this.script.getLineOffsets(this.script.getOffsetLine(this.offset)).indexOf(this.offset) < 0) {

It would be nice if instead there were a method to do this directly,
like Debugger.Script.isLineEntryPoint(offset).
Summary: add Debugger.Script method to see if offset is a stopping point → [jsdbg2] add Debugger.Script method to see if offset is a stopping point
Most likely I'm going to do this in bug 1003554 as an addition to the bits coming in bug 863089.
Assignee: nobody → ttromey
Status: NEW → ASSIGNED
Really this is just a dup.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.