问题描述: eclipse中调试代码,加入断点后,运行程序弹出对话框 ...........
unable to install breakpoint in ...(file name) due to miss line number attributes.
midify compliter options to generate line number attributes.
reason:
absent line number information
解决方案:
首选1.
当前工程中所用到的库(jre),应该是eclise自带的。用自己所安装的jre替换掉。
例如:

上图中红框显示就为自带的,然后......选中>>>右击>>>Properties,会出现下图

确实为自带的,然后选择Alternate JRE

点击ok。完成!
办法2.如果没有解决,按如下方法试一下。(一般情况下,办法1 就能解决。)
Project--->Properties---->java Compiler---->classfile Generation
选中下面的复选框,点击Apply后,点击OK
