It is true that there is code running you can't see the lines it came from. AFAIK,
there is no solution for this as you don't have the sources of the code that JBoss AOP
weaves in your classes.
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 Eclpise stops
when the aspect execution starts.
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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185562#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...