Solve the problem that breakpoint debugging does not work in eclipse

Source: Internet
Author: User

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.

 

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.