Closed Bug 1109304 Opened 10 years ago Closed 10 years ago

JS Debugger: Breakpoint is being skipped

Categories

(DevTools :: Debugger, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1057031

People

(Reporter: bgrins, Unassigned)

References

()

Details

STR:

Open http://localhost/spectrum/test/?testNumber=24
Open debugger to spectrum.js
Search for paletteElementClick on the page (currently line #458)
Set a breakpoint in the first line of the paletteElementClick() function
Reload the page

Expected:

The thread pauses when that function is called during the test

Actual:

Nothing happens.  There is an error in the Browser Console:

Handler function threw an exception: TypeError: info is null
Stack: _addBreakpoint@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/sourceeditor/debugger.js:138:5
addBreakpoint/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/sourceeditor/debugger.js:154:37
makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:83:14
Line: 138, column: 4
The URL in the STR should have been: http://bgrins.github.io/spectrum/test/?testNumber=7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.