I tried the following in my JavaScript console in Firebug (v.2.0.12):
function square(n) {
return n*n;
}
monitor(square);
Although the console tells me that a monitor has been created successfully, I don't get any logging output once I invoke the function. It works as expected in Chrome's dev tools.
What am I missing? I already checked out the answer under How to use Firebug's monitor(fn)?, but it doesn't work for me either.