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
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 quick.zip 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: https://github.com/devtools-html/debugger.html/pull/4747/files and should be released with the next debugger bundle update (https://bugzilla.mozilla.org/show_bug.cgi?id=debugger-bundle-updates). Expect it to be fixed in Firefox 59. Blocking on debugger-bundle-updates
Status: UNCONFIRMED → NEW
Component: Developer Tools: about:debugging → Developer Tools: Debugger
Depends on: debugger-bundle-updates
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.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.