Automatically navigate by type without source code attached

When debugging and continuing to press the F5 key, if the source code does not exist, eclipse will open a new window, declaring that the source was not found.

How can I make eclipse try to just step into the code (while I press F5 all the time) if the source code exists, and if it does not exist, it will simply automatically step over it instead of "Source page not found". Is it possible?

+4
source share
1 answer

The best you can do is use Step Filters . Step filters do not allow the debugger to pause in specific classes and packages when entering code. Step filters are set using the Java> Debug> Step Filtering preferences page. => that is, you need to manually exclude types or packages for which you have no source.

A quick way to add step filters as you move - in the Debug view, the selected stack frame package or ad type can be quickly added to the filter list by selecting Filter Type or Filter Package from the context of the menu stack frame.

+3
source

All Articles