Search code examples
javascriptfirebugmonitor

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 happening... May be my understanding of this command is completely wrong.

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


Solution

  • 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..