Eclipse - 由于缺少行号属性而无法安装断点 [英] Eclipse - Unable to install breakpoint due to missing line number attributes

查看:45
本文介绍了Eclipse - 由于缺少行号属性而无法安装断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Eclipse 中尝试设置断点时遇到这个奇怪的错误.

I am getting this strange error in Eclipse while trying to set a breakpoint.

Unable to insert breakpoint Absent Line Number Information

我勾选了编译器选项中的复选框,但没有运气.

I ticked the checkbox from Compiler options but no luck.

推荐答案

  1. 在eclipse菜单中,进入Window->Preferences->Java->Compiler
  2. 取消选中添加行号属性..."复选框
  3. 点击应用 -> 是
  4. 标记复选框添加行号属性..."
  5. 再次申请.
  6. 快乐调试

这篇关于Eclipse - 由于缺少行号属性而无法安装断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆