Closed Bug 1049009 Opened 11 years ago Closed 5 years ago

The console doesn't allow inspecting thrown objects

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1595046

People

(Reporter: marco, Unassigned)

References

Details

(Whiteboard: [btpp-fix-later])

Attachments

(1 file)

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.
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?
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.
I think this bug has the same roots as bug 812765, but I'm not entirely sure.
See Also: → 812765
Priority: -- → P2
Whiteboard: [btpp-fix-later]
Product: Firefox → DevTools

Appears to be fixed on version 84

Flags: needinfo?(mcastelluccio)
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.

Attachment

General

Created:
Updated:
Size: