向EclipseIDE中的类的所有方法添加方法断点 [英] Add a method breakpoint to all methods of a class in EclipseIDE

查看:638
本文介绍了向EclipseIDE中的类的所有方法添加方法断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse中,有没有办法可以在类的所有方法上设置方法断点,而无需单独使用方法?动机背后的是,任何时候一个方法被击中,它将以调试模式转到该方法。

In Eclipse, is there a way you can set Method Breakpoints on all the methods of the class without going to individual methods? The motivation behind is that, any time a method gets hit, it would go to that method in debug mode.

推荐答案

最快的方法是转到大纲视图,并选择所需的所有方法,右键单击点击切换方法断点

The fastest way is to go to the "Outline" view and select all of the methods you want, right-click and click "Toggle Method Breakpoint"

这篇关于向EclipseIDE中的类的所有方法添加方法断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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