Search code examples
javaeclipseaspects

Avoiding Aspects While Debugging in Eclipse


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.


Solution

  • 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