Click here to Skip to main content
15,886,661 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Need to debug a jar file "ProA",so import the sourcecode in the project, but there is a strange error in Eclipse while trying to set a breakpoint. detail as below:
[Unable to install breakpoint due to missing line number attributes,Modify compiler options togenerate line number attributes]

i have try to several method to solve, but failed.
1) Under "Window --> Preferences --> Java --> Compiler --> Classfile Generation", all options have to be to True
2) In .settings folder of your project, look for a file called org.eclipse.jdt.core.prefs. Verify or set org.eclipse.jdt.core.compiler.debug.lineNumber=generate
3) add the "debug=true" flag in the build.xml,just like this:
XML
<javac debug="true" ...>


Any help will be appreciated.
Posted
Updated 3-Dec-13 14:54pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900