Quick question. (I tried to use firebug but have no idea how to do it correctly)

I have got some button at page. After click it triggers some function. How to exactly find out what is the name of this function and which library (file) loading it.

need this to investigate some bug in 3rd party library

Piotr Mąsior