Closed Bug 1315183 Opened 8 years ago Closed 6 years ago

Console cannot show the evaluated scripts' location

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1531826

People

(Reporter: salar2k, Unassigned)

References

Details

Attachments

(1 file)

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.
> 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'.
Product: Firefox → DevTools
Priority: -- → P3

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.

Attachment

General

Creator:
Created:
Updated:
Size: