Eclipse调试步骤与AspectJ [英] Eclipse debug stepping with AspectJ
问题描述
是的,这是一个AspectJ的错误。逐步通过建议具有附加的不正确的文件属性。最好的解决方法是委托您的建议中的正确方法,并且行号将对齐。
I have Eclipse setup with "The AspectJ Development Tools" plugin. I'm trying to debug some code that uses AspectJ and step through it, but it is unable to match up the source lines since AspectJ has added extra stuff at compile time. No one else seems to be complaining about what seems like a major flaw (being unable to debug!), so I'm hoping I just need to tweak something to make it work. What am I doing wrong?
Yes, this is a bug with AspectJ. Stepping through advice has the incorrect file attribute attached to it. The best workaround is to delegate to a proper method inside of your advice and the line numbers will be aligned.
这篇关于Eclipse调试步骤与AspectJ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!