Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

no executable code found at line intellij 14

I am unable to debug remote applications due to: No executable code at line

I am running ultimate edition of Intellij, version 14.0.3. My application is running inside tomcat 8 and i'm building it from the command line using Maven. This problem appeared after i switched from the community edition to the ultimate edition.

Project sources are the same and I am able to connect to tomcat for remote debugging. The only issue is that all my breakpoints are invalidated.

Please advice on how to fix this issue.

Cheers.

like image 858
simonaco Avatar asked Feb 22 '15 12:02

simonaco


2 Answers

Sometimes it is enough to refresh maven dependencies, rebuild the project or flush the IntelliJ cache without deleting the entire .idea folder. Check this answer:

I had similar problems and various attempts has been applied. Below is my usual steps:

  1. you are using Maven dependencies, go to Maven Projects -> refresh
  2. If that does not work, Try top menu --> Build --> Rebuild Project
  3. If that still doesn't work, try top menu --> File --> Invalidate Cache/Restart
  4. If that still doesn't work, then $CATALINA_BASE/bin/catalina.sh stop, then start

After this, usually it covers 99% of the problems. Otherwise, Probably you will have to examine some other possibilities.

like image 135
tonnoz Avatar answered Sep 24 '22 17:09

tonnoz


Remove all IDEA related project files and open the project by the .pom file.

like image 33
eigil Avatar answered Sep 24 '22 17:09

eigil