Closed Bug 1421177 Opened 6 years ago Closed 5 years ago

Jump to line from Console to Debugger is not scrolling to the correct line


(DevTools :: Debugger, defect, P3)

58 Branch


(Not tracked)



(Reporter: egil, Unassigned)




(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20171123161455

Steps to reproduce:

1. Loaded my extension.
2. Opened debugger.
3. Go to address bar.
4. Type in `sa en a` (this triggers a console.log in my extension).
5. Click on `background.js:297:4` link.

Actual results:

The file `background.js` is opened, but the line 297 is not shown.

Expected results:

The file `background.js` should be opened, and the debugger should scroll line 297 into view, and highlight it or (better yet) place a cursor at 4th character.

PS: I'm using FF dev 58.0b6 (64-bit) on Windows 10.
Seems to be a more generic problem.

Attaching with a test case that can be opened directly in a browser (not as a WebExtension).

1. Open test.html.
2. Open debugger (of that page).
3. Click on `background.js:261:1`.

File is opened, but the line no 261 is not highlighted.

Same thing in FF 56.0.2 works (the line is shown and highlighted).
Component: Untriaged → Developer Tools: about:debugging
Moving to debugger. 

This was recently fixed on Github: and should be released with the next debugger bundle update ( Expect it to be fixed in Firefox 59.

Blocking on debugger-bundle-updates
Component: Developer Tools: about:debugging → Developer Tools: Debugger
Ever confirmed: true
Priority: -- → P3
Summary: Go-to-line links in console don't work for a WebExtension debugger → Jump to line from Console to Debugger is not scrolling to the correct line
Updating dependency on the new debugger bundle update that should contain the fix for this issue.
Depends on: 1423158
No longer depends on: debugger-bundle-updates
Product: Firefox → DevTools
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.