Excerpt from: http://blog.sina.com.cn/s/blog_496117520100kw6b.html
Error "Unable to install breakpoint due to missing line number attributes,modify compiler options to generate when debugging under Eclipse" Line number Attributes "
Summary of solution scenarios found when encountering this error:
1, when using ant compile, do not open the debug switch, write Javac task to confirm debug=true, otherwise can not debug. the settings for the Eclipse compiler don ' t affect the ant build and even if you launch the ant build from within ECL Ipse. Ant controls it ' s own compiler settings.you can tell ant-Generate debugging info like this ' Javac ... debug= "true" .../& gt; (my problem is for this reason);
2, the compiler setup problem, Window->preferences->java->compiler in the compiler start page, Classfile generation area confirmed that has checked all line Number attributes to generated class files. If it is already checked, please apply it again from the new. or set from the project level, the project Properties->java compiler also on the start page, making sure that you have checked
The Eclipse newspaper's fault is nothing more than a two-cause
Eclipse Breakpoint does not take effect