Closed
Bug 1049009
Opened 11 years ago
Closed 5 years ago
The console doesn't allow inspecting thrown objects
Categories
(DevTools :: Console, defect, P2)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1595046
People
(Reporter: marco, Unassigned)
References
Details
(Whiteboard: [btpp-fix-later])
Attachments
(1 file)
|
11.97 KB,
image/png
|
Details |
The console allows inspecting objects (for example if you write "new Object()" or "console.log(new Object())"), but it just prints an unhelpful message if an object is thrown.
Comment 1•11 years ago
|
||
Could you be more specific as to the exact console expression that you are having issues with? Are you trying to observe the properties of an error object?
| Reporter | ||
Comment 2•11 years ago
|
||
If you write |throw new Object()| in the console, it will print a string representation of the object and will not allow you to inspect it.
Comment 3•11 years ago
|
||
I think this bug has the same roots as bug 812765, but I'm not entirely sure.
See Also: → 812765
Updated•10 years ago
|
Priority: -- → P2
Updated•10 years ago
|
Whiteboard: [btpp-fix-later]
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(mcastelluccio)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•