Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Eclipse AJDT - stepping into advice code

Unfortunately, there are a number of areas in which the Eclipse JDT is still hard wired to recognize .java files. For this reason, I recommend using a .java extension for your AspectJ code, to get better tools support from AJDT. Try segmenting your AspectJ-specific code into a separate source tree. It's a known issue with AJDT and the team is planning to fix it over time.
 
Mark, I'm also curious if you're doing ant builds inside Eclipse instead of using the AspectJ builder, and if so why?
 
Ron
 
Ron Bodkin
Chief Technology Officer
New Aspects of Security
m: (415) 509-2895
 
 
------------Original Message-------------
From: "Volkmann, Mark" <Mark.Volkmann@xxxxxxxxxxxxx>
To: "'aspectj-users@xxxxxxxxxxx'" <aspectj-users@xxxxxxxxxxx>
Date: Thu, Jul-31-2003 7:05 AM
Subject: RE: [aspectj-users] Eclipse AJDT - stepping into advice code
Thanks for the suggestion.  As you suspected though, I already have the .aj extension registered with the Aspect/Java Editor.  Darn!  This is the one remaining piece of the puzzle and I can't seem to crack it.  I really don't want to be forced to name all my aspect files .java instead of .aj.
-----Original Message-----
From: Garry Cronin [mailto:garry.cronin@xxxxxxxxxx]
Sent: Wednesday, July 30, 2003 2:32 PM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Eclipse AJDT - stepping into advice code

probably not you're problem but it may help to ensure that .aj file extensions are registered with the AspectJ/Java Editor editor in Eclipse. You can set this within the Preferences dialog (Workbench - File Associations).

hope this helps
- Garry

Volkmann, Mark wrote:

Scratch that last email.  I forgot the X in -XnoInline.  I have that working and I have a debug step filter for org.aspectj.

When I try to step into an advised method, a dialog pops up titled "Debugger Source Lookup".  It says "The source of the type 'com.agedwards.aspects.ContextAspect' could not be shown as the type was not found."  ContextAspect.aj is one of my aspects.  I'm thinking it doesn't know that .aj files contain Java source.  Any idea how to tell it about that?



***********************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
************************************************************************************

Back to the top