Unable to evaluate the selected expression while debugging Java project in eclipse

Are you having the problem that says Unable to evaluate the selected expression while debugging Java project in eclipse? The problem happened to me when I tried to inspect the values during debugging. The error screen is shown.






Solution:
-   Go to debug window of eclipse
-   Right click on it
-   Go to Edit Source Lookup Path
 

 -   Click Add button


- Click to Java Project

 

Select the java project that the code exists in ((For example, it is Struts2Project in my case )

Comments

Popular posts from this blog

Old Questions for Big Data Technologies at Institute of Engineering(IOE), Tribhuvan University, Nepal

Install the Windows Subsystem for Linux