Eclipse Debugger Goes to Library Classes

3.9k views Asked by At

Just debugging a project using Eclipse Luna 4.4.0, when using the debugger, upon reaching my breakpoint, and hence using the "step into" button, it takes me to generic Library classes such as Threads.class etc.. I'm pretty sure it's a problem with my Eclipse configuration, as it was working perfectly fine on a different machine, but since switching it's become a real pain having to step over a fair few Library classes before I can get back to my own code.

Any help with what to change would be extremely helpful, thanks.

1

There are 1 answers

0
Bryce On

You can use step filtering to skip certain packages/classes when debugging. If you have additional packages in your project you'll need to add those packages to Step Filtering.

Window -> Preferences -> Java -> Debug -> "Add Packages"

Select all the packages that you want to skip during debugging. Use shift to select multiple packages. Click OK and ensure that they are checked.

See this article for further clarification.