How to debug an around() advice? [message #55972] |
Thu, 11 August 2005 15:02  |
Eclipse User |
|
|
|
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 #58570 is a reply to message #56000] |
Wed, 16 November 2005 11:17  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.03707 seconds