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
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!