Eclipse调试/步骤跳过AOP接线方法 [英] Eclipse debugging / step into method skipping AOP wiring

查看:669
本文介绍了Eclipse调试/步骤跳过AOP接线方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Eclipse 3.5中调试SpringSource应用程序,大量使用AOP来连接组件。



如果我想要介绍一个使用AOP连接的类的方法,我首先必须遍历20层SpringSource接线方法,再次到达我自己的源代码



有没有办法配置Eclipse来跳过没有源代码的层,直接转到我的方法?

解决方案

尝试Windows>首选项> Java> Debug> Step Filtering。
检查使用步骤过滤器,只需添加不要进入列表的包/类。
请参阅 http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/views/debug/ref-usestepfilters.htm 了解更多详情。


I'm debugging a SpringSource application in Eclipse 3.5 that makes heavy use of AOP to wire up the components.

If I want to step into a method of a class wired with AOP, I first have to step through around 20 layers of SpringSource wiring methods before reaching my own source code again.

Is there a way to configure Eclipse to skip the layers to which it has no source and step directly to my method?

解决方案

Try Windows>Preferences>Java>Debug>Step Filtering. Check "Use Step Filters" and simply add the packages/classes you wouldn't to go in to the list. See http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/views/debug/ref-usestepfilters.htm for more details.

这篇关于Eclipse调试/步骤跳过AOP接线方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆