Various ways to assemble the Internet:
Cannot debug in Eclipse, always error: "Unable to install breakpoint due to missing line number attributes. Modify compiler options to generate line number attributes "
Eclipse could not find the breakpoint because the bytecode was changed at compile time, causing eclipse to be unable to read the corresponding row.
1. The ant-compiled class eclipse is not recognized because Eclipse compiles class as well. How to make them unified, is in the build.xml in the javac tag add a sentence debug= "true", everything is OK.
such as: <javac debug= "true" >
Links: http://blog.csdn.net/liu251/article/details/3639160
2, Reload eclipse invalid, finally only to Window-preferences-java-compiler below
Put add line number attributes. The front tick is removed and then Apply-ok. Then Window-preferences-java-compiler put the hook on, and then Apply-ok, the problem was solved
Links: http://lwfshr.iteye.com/blog/144702
Solved using the second method.