You can try throwing Error and catching/parsing stacktrace - depending on
compilation settings (debug) you should get method, class and line info
Regards
Anatole



On 1/9/08, learner <[EMAIL PROTECTED]> wrote:
>
>   Hi all,
> Is there any way in which I get the caller function name. As in :
>
> class Aclass{
>
>     instanceB:Bclass;
>    function a(){
>       instanceB.b(this)
>    }
>
> }
>
> class Bclass{
>      function b(Obj){
>         // How to trace function name and class name
>       }
> }
>
>
> I have traced out class name by getFullyQualifiedClassName(Obj) but how to
> trace function name ???
>
> Please somebody guide me .. its very important for me.
>
> Regards
>
> 
>

Reply via email to