Firebug not displaying all object properties

后端 未结 3 828
旧巷少年郎
旧巷少年郎 2021-01-21 05:47

I\'m tracking some data using console.log, an object with form data, and because the amount of data is greater than what FB will display in the console I get a \"more...\" appen

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-21 06:24

    Sounds like a Firebug bug—happens sometimes. Try closing the tab and reopening it, it sometimes works, but usually you have to close Firefox completely.

    Additionally you can do a lot more than just console.log. console.dir(obj) and console.dirxml(ob) for example. One is made for outputting object key/value pairs and one is made for outputting xml.

    See the full docs here: http://getfirebug.com/wiki/index.php/Console_API

提交回复
热议问题