Closed
Bug 1315183
Opened 8 years ago
Closed 6 years ago
Console cannot show the evaluated scripts' location
Categories
(DevTools :: Console, defect, P3)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1531826
People
(Reporter: salar2k, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
Developer Tools' console cannot show the location of any error that has occurred from an evaluated script.
The attached html file is to reproduce the situation. Open the console then click the 'Simulate Load' button and try to locate the error source in the console.
The expected results would be, when the location in the console is clicked, debugger should show up with a script named e.g. SCRIPT10:7 and the error line highlighted.
This is what happens when we put a "debugger;" command in the attached sample html file.
Comment 2•8 years ago
|
||
> function throwError() {
> console.error('hello from console.error!');
> throw 'sorry';
> }
It throws non-Error object, and that's not supported now.
it will be addressed in bug 996060.
> It throws non-Error object, and that's not supported now.
> it will be addressed in bug 996060.
Hope so. It is good to mention that this situation also applied to 'console.error' and 'console.warn'.
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Priority: -- → P3
Comment 4•6 years ago
|
||
This is now fixed and work as expected :)
Bug 1531826 is probably what made this possible.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•