[jboss-user] [JBoss AOP] - Re: How to set a breakpoint for weaved classes.

smile24 do-not-reply at jboss.com
Thu Oct 30 06:53:00 EDT 2008


Hello Flavia,

Thanx for really quick answer.

"Still, when I need to debug some aspectized class, I just add the 
breakpoint to the parts that I have written and that I want to debug, and it works. Inclusively, it works when I need to debug an aspect, I just  add the breakpoint to the aspect itself and Eclipse stops when the aspect execution starts."

Could you write if it is any difference for debugging when I compile code with aopc in ant task so all compiled classes are stored then in my jar file or if I let JBoss to compile aopclasses in deploy time and aopclasses are stored then in .....\tmp\aopdynclasses\ucl... ? 

"If you run into a point of the stack where Eclipse gets lost (i.e., where it doesn't show where is the line it is running), just proceed pressing F5 until you get to your aspects code or until you get back to your aspectized class. I'm writing a tutorial about this at our blog, by the way. The part II, that talks about this stuff, should come out really soon."

I read first part and can't wait to read this part II. Wish you the best to finish soon :)





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185668#4185668

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185668



More information about the jboss-user mailing list