I have a function, say f(args)
, that is being called from many places in my code.
When args
is undefined f()
throws an exception.
I would like to identify who called f()
with the undefined
parameter.
What would be the easiest way to find the exact line (file name + line number) that called f()
?
Is that possible to see the caller in Firebug ?