简体   繁体   中英

Eclipse Debugger Goes to Library Classes

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM