Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » How to debug an around() advice?
How to debug an around() advice? [message #55972] Thu, 11 August 2005 19:02 Go to next message
Lefty A. Rivera-Correa is currently offline Lefty A. Rivera-CorreaFriend
Messages: 25
Registered: July 2009
Junior Member
I followed the instructions, my main method is in a class so I'm trying
to debug like a normal Java App, I can see the 'advised by' in the
editor but I can't get to the aroud() advise breakpoint.
Re: How to debug an around() advice? [message #56000 is a reply to message #55972] Fri, 12 August 2005 08:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adrian_colyer.uk.ibm.com

Lefty A. Rivera wrote:
> I followed the instructions, my main method is in a class so I'm trying
> to debug like a normal Java App, I can see the 'advised by' in the
> editor but I can't get to the aroud() advise breakpoint.

If around advice is inlined, the debugger can't figure out what to do
(we still have some JSR 45 related work to do in this area, and possibly
so does the Eclipse debugger). To debug around advice, you also need to
go to the project properties and turn off the "inline around advice"
AspectJ compiler option. Debugging should then hopefully work as
expected...
Re: How to debug an around() advice? [message #58570 is a reply to message #56000] Wed, 16 November 2005 16:17 Go to previous message
Lefty A. Rivera-Correa is currently offline Lefty A. Rivera-CorreaFriend
Messages: 25
Registered: July 2009
Junior Member
Adrian Colyer wrote:
> Lefty A. Rivera wrote:
>
>> I followed the instructions, my main method is in a class so I'm
>> trying to debug like a normal Java App, I can see the 'advised by' in
>> the editor but I can't get to the aroud() advise breakpoint.
>
>
> If around advice is inlined, the debugger can't figure out what to do
> (we still have some JSR 45 related work to do in this area, and possibly
> so does the Eclipse debugger). To debug around advice, you also need to
> go to the project properties and turn off the "inline around advice"
> AspectJ compiler option. Debugging should then hopefully work as
> expected...
How do I set this option using the <iajc> ant task?
Re: How to debug an around() advice? [message #589867 is a reply to message #55972] Fri, 12 August 2005 08:12 Go to previous message
Adrian Colyer is currently offline Adrian ColyerFriend
Messages: 61
Registered: July 2009
Member
Lefty A. Rivera wrote:
> I followed the instructions, my main method is in a class so I'm trying
> to debug like a normal Java App, I can see the 'advised by' in the
> editor but I can't get to the aroud() advise breakpoint.

If around advice is inlined, the debugger can't figure out what to do
(we still have some JSR 45 related work to do in this area, and possibly
so does the Eclipse debugger). To debug around advice, you also need to
go to the project properties and turn off the "inline around advice"
AspectJ compiler option. Debugging should then hopefully work as
expected...
Re: How to debug an around() advice? [message #590902 is a reply to message #56000] Wed, 16 November 2005 16:17 Go to previous message
Lefty A. Rivera-Correa is currently offline Lefty A. Rivera-CorreaFriend
Messages: 25
Registered: July 2009
Junior Member
Adrian Colyer wrote:
> Lefty A. Rivera wrote:
>
>> I followed the instructions, my main method is in a class so I'm
>> trying to debug like a normal Java App, I can see the 'advised by' in
>> the editor but I can't get to the aroud() advise breakpoint.
>
>
> If around advice is inlined, the debugger can't figure out what to do
> (we still have some JSR 45 related work to do in this area, and possibly
> so does the Eclipse debugger). To debug around advice, you also need to
> go to the project properties and turn off the "inline around advice"
> AspectJ compiler option. Debugging should then hopefully work as
> expected...
How do I set this option using the <iajc> ant task?
Previous Topic:AJDT New Feature of the Week: Load-time Weaving
Next Topic:How do I fix? RuntimeException thrown: Ranges must be updated with an enclosing instructionList.
Goto Forum:
  


Current Time: Wed Nov 26 01:55:46 GMT 2014

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

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