Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Debugging AspectJ Compiled Code
Debugging AspectJ Compiled Code [message #568133] Wed, 04 June 2003 19:19
Alex Choi is currently offline Alex ChoiFriend
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.
Previous Topic:AJDT Plugin Question3
Next Topic:Bytecode weaving into workspace projects
Goto Forum:
  


Current Time: Thu Apr 25 08:25:07 GMT 2024

Powered by FUDForum. Page generated in 0.04105 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top