Eclipse调试过滤器不需要的包 [英] Eclipse Debugging Filter Unwanted Packages

查看:185
本文介绍了Eclipse调试过滤器不需要的包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Eclipse进行2年的开发,但是这个过滤器概念在调试过程中仍然很难理解。



我通常会在远程端口模式下进行调试。大多数时候,我的Eclipse在Unwanted Packages [通常来自Spring,Java ThreadPool等的其他来源的包中]捕获断点/异常,并使我感到震惊启动调试窗口。



我想配置Eclipse来捕获我的包中的断点。只要忽略任何其他地方,不要停止或通知我。

解决方案

应该帮助你:

 窗口 - >偏好 - > Java  - >调试

取消选中以下内容:




  • 暂停排除未捕获的异常

  • 暂停编译错误

  • 在异常情况下暂停时打开弹出窗口



点击申请&然后 OK


I have been using Eclipse for 2 years for development, but this filter concept I am still struggling to understand during debugging.

I usually debug in remote port mode.

Most of the times, My Eclipse catches the break point/exception in Unwanted Packages [Packages usually from other Sources like Spring, Java ThreadPool etc..] and annoys me by bringing up the debug window.

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.

解决方案

I think this should help you:

Window --> Preferences --> Java --> Debug

Uncheck the following:

  • Suspend exceution on uncaught exceptions
  • Suspend exceution on compilation errors
  • Open popup when suspended on exception

Click on Apply & then OK.

这篇关于Eclipse调试过滤器不需要的包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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