Open Bug 1094194 Opened 10 years ago Updated 2 years ago

Add an option for console.table or console printing variables/expressions in the debugger

Categories

(DevTools :: Debugger, enhancement, P5)

x86
macOS
enhancement

Tracking

(Not tracked)

People

(Reporter: sole, Unassigned)

References

(Blocks 1 open bug)

Details

I'm debugging a thing where important variables are m x n tables, and so inspecting their values by clicking on the little arrows that come out of the hover pop out is not very convenient. It would be super cool if I could just right click on the expression and have it console.table'd so I could see what's up in just one click.
Blocks: dbg-frontend
Summary: add option for console.table or console printing variables/expressions from the debugger → Add an option for console.table or console printing variables/expressions in the debugger
Product: Firefox → DevTools
Severity: normal → enhancement

That's a nice idea. We already have a context menu for "evaluating the expression" we could add another for "evaluating as table" or something.

We could also have some additional UI in the preview popup to add the expression as a watch expression or log it to the console as a table... maybe this shows up when the value is an array?

Priority: -- → P5
Blocks: 1565711
Blocks: 1565713
No longer blocks: 1565711
No longer blocks: 1565713
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.