This discussion is archived
0 Replies Latest reply: Apr 29, 2008 1:37 AM by 843810 RSS

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

843810 Newbie
Currently Being Moderated
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,