7 Replies Latest reply on Sep 14, 2009 12:46 PM by 843810

    Unable to install breakpoint even after specifying debug=true in javac task

      I am using ant build to deploy a web application in jboss application server.
      When I run remote debugging from eclipse i am getting the following message from eclipse.

      Unable to install breakpoint in
      com.mypackage.MyClass due to missing line number attributes. Modify compiler options to generate line number attributes.

      Absent Line Number Information

      I have already set the debug="true" option in the <javac> ant task.
      My javac ant task is as follows.
      <javac debug="true" debuglevel="lines,vars,source" classpathref="compile.classpath" destdir="${webapp}/WEB-INF/classes" srcdir="${app.src}" />

      I am not getting any idea why the Line Number Information is missing even after i set debug="true" attribute in the javac task.

      I am even using the same jdk for the jboss application server and for ant. (JDK 1.4).

      Any suggestions will be very helpful.

      Thanks & Regards,