Closed
Bug 961404
Opened 11 years ago
Closed 11 years ago
line in console does not match line shown in debugger for some large JS files
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 952127
People
(Reporter: desiradaniel2007, Unassigned)
Details
Attachments
(2 files)
Web console errors in some large JS source files do not take you to the actual source of the error.
As a test case, please run web/viewser.js in my PDF.js fork https://github.com/dannydes/seniorreader.js. The issue does not seem to occur in Chromium.
Please let me know if you need any more tests, as I have encountered the bug before but cannot remember where. Apart from that, thanks for the awesomeness Firefox devtools are becoming!
Comment 1•11 years ago
|
||
I opened the PDF.js online demo from http://mozilla.github.io/pdf.js/web/viewer.html and what I see is that there is a message in the web console from viewer.js:3109. When I click the link to the debugger I see line 3109 in the editor (though not highlighted), but it's the automatically prettified source of viewer.js, not the one with the console.log statement.
Is that what you see in your fork? Does the pretty-print icon appear depressed, and does clicking it bring you back to the original source with console.log at 3109? If so, we need to tune the heuristics of automatic pretty-printing.
Component: Developer Tools → Developer Tools: Debugger
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
Matching line.
Test performed on latest UX builds after enabling pretty-print.
Comment 4•11 years ago
|
||
This looks the same as bug 952127.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•