File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Debugging projects with AspectJ ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Debugging projects with AspectJ ?" Watch "Debugging projects with AspectJ ?" New topic

Debugging projects with AspectJ ?

jamal elbaa

Joined: Mar 18, 2009
Posts: 27
is it possible to debug a project done in AspectJ, in otherwise telle us how you see the unit-test phase in this type of project
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

With any Java code using JPDA can remote debug anything. Are you using an IDE. In both Eclipse and IntelliJ I can set break points in Aspect classes and step through the code.

In essence it really is no difference than debugging any Java code.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
jamal elbaa

Joined: Mar 18, 2009
Posts: 27

thank you for your reply
that's enough explanation

I have worked extensively with architecture jsf-spring-hibernate, and I want to improve my level architecture, my next project will be done with AOP, EJB3 and other design-patterns.

I do not know if your book about AspectJ will help me to achieve my goal
Ramnivas Laddad
Ranch Hand

Joined: Jul 23, 2003
Posts: 62
I think the book will help such a project. But take a look at book's Table of Content to decide.


Ramnivas Laddad
Author, AspectJ in Action (
Twitter: ramnivas
jamal elbaa

Joined: Mar 18, 2009
Posts: 27
thank you very much for your answer
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Debugging projects with AspectJ ?
Similar Threads
The usual book comparison question...
Replacing an Existing Class with my Own Version
What is the advatages of jboss-aop
Using Reflection to determine method invocation