开发者

How to use Firebug's monitor(fn)?

开发者 https://www.devze.com 2023-02-21 17:48 出处:网络
I read the Firebug documentation about the Command Line API. Wrote monitor(functionName) in the command editor and pressed Ctrl+Enter. I can\'t see anything开发者_如何学Go happening... May be my unde

I read the Firebug documentation about the Command Line API.

Wrote monitor(functionName) in the command editor and pressed Ctrl+Enter. I can't see anything开发者_如何学Go happening... May be my understanding of this command is completely wrong.

I googled but I am still confused how to use this API command?


Work fine for me...

Check out the example i made at http://fiddle.jshell.net/gaby/LbCYn/show/

Open the console and put monitor(toBeMonitored);. Now each time you click the button it will put in the console that the method was executed..

0

精彩评论

暂无评论...
验证码 换一张
取 消