Step Filtering: Skip Certain Packages While Debugging in Eclipse
Join the DZone community and get the full member experience.
Join For Freeas java developer, you are probably using a lot of frameworks. spring or hibernate can significantly reduce amount of boilerplate code. but inversion of control, dependency injections and proxies can be confusing during debugging. it is often annoying when debugger steps into third party library code. you realize that your code is wired via proxies and you have to add breakpoint into code you expect to hit.
but there is better way in eclipse. feature called step filtering . very few of my former and current colleagues using eclipse were aware of it. just go into window -> preferences and search for step filtering . check use step filters and specify packages/classes you want to skip during debugging.
Published at DZone with permission of Lubos Krnac, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments