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:假如你用的是ant调试的话,那么请在你的build.xml里面加上这句话 <javac .....debug="true"/>
2:项目->属性->Java编译器->类文件生成->将行号属性添加至生成的类文件(由调试器使用)->打勾
Project--->Properties---->java Compiler---->classfile Generation -->Add line number attributes to generated class files
选中复选框,点击Apply, 假如你之前的是勾选上了,那么请你把勾去掉 apply一下,然后重新勾上再apply,最后点击ok
3:替换当前文件运行的JRE为sun提供的,不能是Eclipse自带的JRE
最后
以上就是虚幻康乃馨最近收集整理的关于eclipse中断点调试不起作用的问题 unable to install breakpoint in的全部内容,更多相关eclipse中断点调试不起作用的问题内容请搜索靠谱客的其他文章。
发表评论 取消回复