Absent Line Number information

I used to get this error very often in Eclipse: “Absent Line Number information”. After a while, I realised that this was happening when I was compiling my code via an Ant task file…

So the workaround is pretty stupid straightforward when you’ve made the connection between the two: just add the debug="on" to your <javac> task!¶



  1. It has worked fine.

    If you are using an Ant task file, you should make this debug option customized in a properties file. So, the one who builds the application can choose if he wants to debug or not the application.

    Rodrigo Iannuzzi · 2006-02-05 16:03 · #

Commenting is closed for this article.