java Eclipse调试过滤器不需要的包
我已经使用Eclipse进行开发2年了,但在调试期间,我仍然难以理解这个过滤器概念
我通常在远程端口模式下调试
大多数情况下,我的Eclipse在不需要的包中捕获断点/异常[通常来自Spring、Java ThreadPool等其他源的包]打开调试窗口让我很恼火
I would like to configure Eclipse to catch breakpoints in my package only. Just ignore any where else, don't halt them or notify me.
# 1 楼答案
我认为这应该对你有所帮助:
取消选中以下选项:
Suspend exceution on uncaught exceptions
Suspend exceution on compilation errors
Open popup when suspended on exception
点击
Apply
&;然后OK
# 2 楼答案
据我所知,我们可以为异常断点添加包过滤器,但对于正常的行断点,我认为手动逐个禁用还有很长的路要走,
您可以查看Eclipse Creating Expression Filter了解更多信息
这个图提供了我们可以打开Java异常断点的信息,