Print function log /stack trace for entire program using firebug

后端 未结 5 1233
温柔的废话
温柔的废话 2020-12-07 23:52

Firebug has the ability to log calls to a particular function name. I\'m looking for a bug that sometimes stops a page from rendering, but doesn\'t cause any errors or warn

5条回答
  •  心在旅途
    2020-12-08 00:25

    Try this:

    console.trace()
    

    I don't know if it's supported on all browsers, so I would check if it exists first.

提交回复
热议问题