eclipse报错:unable to install breakpoint in .......due to missing line number attributes

报错信息如下:

解决方案
方案1、把断点都干掉,再启动。应该是代码更新后,断点位置没有代码了或位置改变了。

方案2、在Eclipse - Preferences - Java - Complier 下
             有一个 Add line number attributes to generated class files
             这个要勾上;如果你已经勾上了,先不勾选然后Apply,再勾选上Apply-->ok

 

原文链接:https://blog.csdn.net/qq_37591637/article/details/101057691

原文地址:https://www.cnblogs.com/isme-zjh/p/11764572.html