Question

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.

Was it helpful?

Solution 2

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.

OTHER TIPS

As far as I know we can add package filters for exception breakpoints but for the normal line breakpoints, I think a long way to manually disable one by one will work,
You can look at Eclipse Creating Expression Filter for more information.
This figure provide info ho we can open Java Exception Breakpoint, enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top