[jboss-user] [Javassist user questions] - Instrument code block within method?

2008-05-02 Thread youngde
We're building a monitoring tool for our enterprise-class app that uses Javassist for the instrumenting portion. We have method entry/exit instrumentation working fine; now we'd like to be able to instrument code blocks *within* methods. For example, given method frodo(), and a suspicious

[jboss-user] [Javassist user questions] - Re: Instrument code block within method?

2008-05-02 Thread youngde
Uh oh. RTFM, I guess. Is the proper way to do this CtMethod.insertAt()? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4148347#4148347 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4148347