Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Java Debug with missing source files

Is there a way to skip the files automatically for which there is no source code in Eclipse while debugging a Java/Android application? So, to be clear, Step Into or Step Over to not display the useless missing file "summary" but to go on until an instruction from my code is reached. Thanks.

like image 636
TudorT Avatar asked Sep 06 '11 08:09

TudorT


People also ask

What is edit source lookup path in Eclipse?

Select the Edit Source Lookup... command [ ] to open the Source Path Dialog, which allows you to make changes to the source lookup path of the selected debug target.

How do I complete debugging in Eclipse?

A Java program can be debugged simply by right clicking on the Java editor class file from Package explorer. Select Debug As → Java Application or use the shortcut Alt + Shift + D, J instead.

What is a source file in Eclipse?

A source file (compilation unit) is inside a directory which represents a package (inside a source root). It has one class which is named like the source file (and possible other inner classes).


1 Answers

You can use Step Filtering to achieve much the same thing.

Open Java->Debug->Step Filtering in your Eclipse Preferences and add the filters for the classes/packages you have no source for.

like image 116
Paul Grime Avatar answered Oct 06 '22 00:10

Paul Grime