unable to install breakpoint in ... absent line number information

 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
                        選中下面的複選框,點擊Apply後,點擊OK就可以了   假如你之前的是勾選上了,那麼請你把勾去掉 apply一下,然後在打開把勾又勾上一遍。在apply,最後點擊ok

  包你解決問題

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章