Skip to main content



      Home
Home » Language IDEs » AspectJ » How to debug an around() advice?
How to debug an around() advice? [message #55972] Thu, 11 August 2005 15:02 Go to next message
Eclipse UserFriend
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 04: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 11:17 Go to previous message
Eclipse UserFriend
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 04:12 Go to previous message
Eclipse UserFriend
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 11:17 Go to previous message
Eclipse UserFriend
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: Fri Apr 25 00:15:28 EDT 2025

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

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

Back to the top