Closed
Bug 1421177
Opened 7 years ago
Closed 6 years ago
Jump to line from Console to Debugger is not scrolling to the correct line
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: egil, Unassigned)
References
Details
Attachments
(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.
Reporter | ||
Comment 1•7 years ago
|
||
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).
Updated•7 years ago
|
Component: Untriaged → Developer Tools: about:debugging
Comment 2•7 years ago
|
||
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
Updated•7 years ago
|
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
Comment 3•7 years ago
|
||
Updating dependency on the new debugger bundle update that should contain the fix for this issue.
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•