print file and routing name

samjesse

Active Trader
Aug 30, 2011
118
0
27
Hi

Is there a class or a way to "Print" the name of the file and function?
i.e.
fun1(){Print_where_you_are();}
file2/fun1(){Print_where_you_are();}

Prints:
fun1 in file whatever.
fun1 in file2.
...
And even the line number, that would be nice.

thx
 
Last edited: