Quoting aldib <[EMAIL PROTECTED]>:

> Hi,
> I�m new to BCEL and I was wondering if someone could help me with this.
> I�m looking for a way of monitoring the call stack. I would like somehow to
> register some kind of listener with stack that gets notified whenever the
> stack is changed.
> Does anybody know if it�s possible to use BCEL for this? Maybe instrumenting 
> the 
> Classloader?
> 
> Thanks
> 
> Alessandro

You could perhaps inject a try finally block around the code over every method.
Then add a notify the listener as the first statement in the try, and notify
again in the last of the finally. :)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to