Eclipse Debug: Source Not Found while remote debugging
In the Java build path for the project, under the sources tab, check if your class path is under the included list. If its under the excluded list, remove it from there.
I faced same issue and got solved by below steps in eclipse.
- Go to Severs tab in your Eclipse tab
- Right click on the server and click on Add and Remove Projects
- Select/add the project EAR which you want to debug
- After finish - Start your server in debug mode
Should solve with above steps as it resolved for me:)
In this scenario just follow the following steps:
- Go to Run → Debug Configurations
- Select the remote application configuration being debugged.
- Select the second tab named 'Source'
- Now add the folder/projects containing the source code explicitly here.
As Saury said, get your debug configuration right. When remote debugging, often developers have selected the wrong project while creating a new configuration. Verify you select the project you wish to debug and it corresponds to the version of the deployed WAR/EAR/JAR in the appliation container.