bernie2436
bernie2436

Reputation: 23921

Eclipse error: Source not found

I am new to Eclipse. When I try to debug my main class I get Launcher$AppClassLoader class not found. This post Source not found when debugging constructor says "Just Below Source not found error you will see "Edit Source Lookup Path" button click on it and then click on Add button then Java Project and include your project .. Hope this will solve your problem."

So I did that and added my project, like this. What debugging steps come next?

enter image description here

Upvotes: 0

Views: 1997

Answers (1)

Pshemo
Pshemo

Reputation: 124275

I am not sure if that is what you want, but you can filter out classes which you don't want to debug like ClassLoader, or you don't have access to its sources.
I generally don't want to test standard classes placed in java, javax, or sun packages.

To do this just go to Windows->Preferences -> Java -> Debug -> Step Filtering and configure which packages or classes you want to skip.

enter image description here

Just make sure that while debugging step filtering is toggled on

enter image description here

Upvotes: 2

Related Questions