|Debugging LTW weaved classes [message #1060205]
||Thu, 23 May 2013 09:46
| Dumitru Boldureanu
Registered: May 2013
I have a Spring(3.2.2) + AspectJ(1.7.2) application configured with Load Time Weaving.
In Netbeans, I'm having trouble while debugging woven classes methods, for example the methods annotated with @Transactional. I'm able to put break points in this methods, but when I click "Step over" the debugger doesn't go to the next line, it jumps to line 1 and then to other classes...
I found on stackoverflow (eclipse-debug-stepping-with-aspectj) info that this is a bug in AspectJ.
When I run on Eclipse the debugging is OK, "Step over" works fine(with the exception of the first line in method for which is necessary to press it twice).
Also tried running this code in IntelliJ, there I have the same situation as in Netbeans.
I've googled a lot, but I couldn't find good explanation...
Is this a bug indeed? Does Eclipse IDE has a feature or something that permits the debugging to go smooth? If this is a bug, is there a time frame defined when the bug will be fixed, which release?
Is there a solution/configuration parameter to make this work in other IDEs (Netbeans, IntelliJ), tried -XnoInline, but it didn't help.
Thank you in advance,
[Updated on: Thu, 23 May 2013 10:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02259 seconds