Skip to content

Unable to install breakpoint due to missing line numbers

by Priyatam

I came across the most bizarre error today which wasted 2 hrs of my time. While debugging the webapp via eclipse, whenever I try to set a breakpoint, I got this error: -
“Unable to install breakpoint due to missing line number attributes. Modify compiler options to generate line number attributes.”

I tried downloading another eclipse IDE, reinstalled the WTP plugin for servers. Nothing worked. Thanks to a little search on google, the solution apparently was that my ant task for compile didn’t have an option “debug=”true” (my bad!) and ant was not generating enough debug info into the class files. Changed the setting now and it works!

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*