开发者

How to use Firebug's monitor(fn)?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜