Closed
Bug 1043446
Opened 11 years ago
Closed 11 years ago
Add a way to see values of getters in console output
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 820878
People
(Reporter: bgrins, Unassigned)
Details
If I run the following command in the console:
var foo = { get bar() {return 10;} }; foo;
I see: Object { bar: Getter }. Then if I click on the Object, the variables view opens up and I see:
> bar
get: foo.bar()
set: undefined
It would be cool to be able to click on the getter and have it evaluate, then show the value inline. Chrome does something like this, where it shows `Object {bar: (...)}` then clicking on the ... turns it into 10.
Comment 1•11 years ago
|
||
We already have a bug about adding a way to force eval of getters in vview.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•