Resolves an issue where Eclipse breakpoint debugging does not work

Source: Internet
Author: User

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

 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.