I checked out a maven project in Eclipse and am unable to Inspect a Variable (right click on the variable and click Inspect option).
When I attempt to do so, I get the
I solved this problem by did the following:
Right click on the project ->build path -> select source tab -> add folder
and then i added
the folder which contains the java classes.
In my case the run configuration was configured correctly. But I needed to:
I got the same error message.
To solve that
"Debug Configuration" >> {{JAVA_DEBUG_APPLICATION_NAME}} >> Source (tab)
Check the source is added correctly,
For me,
I have removed the sources from the source tab, It solved both the problem
Also, in your launch configuration, be sure that the source path is correctly specified.
That is to say: Run/Debug Configurations / Source tab / Add... / Java Project
Make sure the project containing your source code is in that list!
This might be useful:
Find the thread in your debug window that you are in the breakpoint for. Right click on it. Under relaunch should be an edit launch configuration selection. Select that.
Select Source tab. Add. Java Project. Select the java project that the code exists in.