resolves an issue where Eclipse breakpoint debugging does not workeclipsegeneration Compiler file work
In recent days, there has been a problem, that is, the breakpoint debugger in Eclipse, then, the breakpoint I set is not tracked. Puzzled for a long time, on the internet also consulted a lot of information, have failed to solve my problem. This morning, I tried to swap the eclipse workspace for another one, and put it under a different letter. Try to debug the breakpoint. Although the problem solved, but I think, can be debugged before, but in recent days not, it is estimated that the operation error caused.
If the following error occurs:
Insert a breakpoint where you need to debug, and the result pops up a dialog box prompting you to add a breakpoint.
---------------------------------------------------------
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
__________________________________________________________
Workaround:
Item, Properties->java compiler, class file generation, add line number properties to generated class files (used by the debugger), tick
Project--->properties---->java Compiler---->classfile Generation
Select the check box below, click Apply, click OK