How to debug object rendered in canvas

25 views
Skip to first unread message

Amit Mehra

unread,
Sep 16, 2014, 3:12:21 AM9/16/14
to fir...@googlegroups.com
Recently i was working with Flot api. It rendered most of the stuff in a canvas and i needed to debug some of those objects. Can we enable canvas debugging in firebug somehow ?

Sebastian Zartner

unread,
Sep 16, 2014, 4:30:05 AM9/16/14
to fir...@googlegroups.com
Firebug doesn't support libraries like Flot at the moment and as canvases are pixel-based, there are no objects to debug.
You can debug the code creating the canvas via the Script panel, though.

If you want to have support of libraries like Flot, you may create an enhancement request for it. In that case please provide detailed info on how you imagine the UI for that to look like and provide simple test cases.

Sebastian
Reply all
Reply to author
Forward
0 new messages