views:

45

answers:

2

I am working on the big project with a number of aspects defined on business classes. I would like to avoid entering the aspect's code while debugging a code in business classes. Is there any solution for that? We are using compile time weaving and maven for compiling.

A: 

Are you using compile or load time weaving? If you're using LTW, can you disable the weaving agent?

Kevin
We are using compile time weaving.
Nenad
If you're starting in debug mode, can you recompile without aspect compiling?
Kevin
I am using maven for compiling, outside of Eclipse. However, I can use Eclipse for compiling whole project, altogether with aspects. The answer is: I can't recompile without aspect compiling.
Nenad
+1  A: 

Step filtering might help you. It solves the problem with regular Java code, I'm not sure how it deals with aspects. I expect that if your aspects are in distinct packages then step filter should do the trick.

Reference here -> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/views/debug/ref-usestepfilters.htm

Yoni