Is there a way/add-on that I can use so everytime any javascript function is executed in Firefox for example, the function name will be printed (to the console or w
You can use the profiler of Firebug.
Go to the console tab and click Profile. The profiler starts and all the javascript actions are "logged" till you click Profile again. Then you get the list of javascript functions that were executed in this interval.
A similar feature is available in most modern browsers' consoles.