Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No executable code found at line [duplicate]

I am getting this message "No executable code found at line" when doing a remote debug from IntelliJ ver 12. This is a Java application. It is using maven for building the war. Not sure where to make the change in order to do the debugging properly.

like image 910
user215005 Avatar asked May 09 '13 16:05

user215005


1 Answers

You need to ensure that sources in editor are in sync with the classes on the server. Classes must be compiled from exactly the same sources with the debug option enabled for the compiler.

Note that your classpath may be configured incorrectly and include some old version of the classes that you are trying to debug. It may also include different versions of the same class (like one from the .jar, another from classes) and JVM will load not the one you need.

like image 171
CrazyCoder Avatar answered Sep 21 '22 15:09

CrazyCoder