In recent days, a problem occurs: breakpoint debugging in eclipse.ProgramAt that time, the breakpoint I set will not be tracked. I have been confused for a long time. I have read a lot of information on the Internet and have not been able to solve my problem. This morning, I tried to replace the eclipse workspace with another drive letter. Try breakpoint debugging. Although the problem has been solved, I think debugging can be performed before, but it may not be possible in the last few days. It is estimated that this is caused by incorrect operations.
If the following error occurs:
Insert a breakpoint where debugging is required. A dialog box is displayed, indicating that the following content cannot be added.
---------------------------------------------------------
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
__________________________________________________________
Solution:
Project-> properties-> Java compiler-> class file generation-> Add the row number attribute to the generated class file (used by the debugger)-> tick
Project ---> properties ----> Java compiler ----> classfile generation
Select the check box below, click Apply, and click OK.