Unable to install breakpoint in xyz class due to missing line number attributes. modify compiler options to generate line number attributes.
Reason: Absent line number attributes in generated class file.
Solution:
1. Verify the class file generation options in eclipse
Go to windows > preferences > Java > compiler screen.
Make sure that add line number attributes to generated files (used by debugger) check box is checked.
2. In the build.xml, set debug attribute to true in the javac task.
No comments:
Post a Comment