Debugging AspectJ Compiled Code [message #568133] |
Wed, 04 June 2003 19:19 |
Alex Choi Messages: 4 Registered: July 2009 |
Junior Member |
|
|
Hi All,
When I attempt to debug my AspectJ woven and compiled Java code my Eclipse
IDE shows the incorrect source location of my breakpoint and code
execution.
I understand this is due to the fact that Aspect is weaving additional
code, thus my compiled classes do not match my original source (before
AOP).
I did read somewhere that if I include the "-XnoInline" Aspect compiler
option then this may help me to generate classes that will match closer to
my original source code. However, I'm using Ant 1.5.1 and I have not
found any information on how to code this Aspect compiler option for the
<iajc> tag in my build.xml Ant script.
I'm hoping that I would not have to resort to using Sytem.out or a Logging
API to help me to debug my AOP code.
As a bigger question how are Aspect Technology implementors and
Programmers addressing this debugging issue?
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.04105 seconds