"Java Breakpoint Unable to install breakpoint" error when Eclipse makes debug

Source: Internet
Author: User



Error situation diagram:






Solution to the problem:



Direct Click Ignore: Don ' t tell me again



Answer from the Internet ~ ~


I had the same error message in Eclipse 3.4.1, SUN jvm1.6.0_07 connected to Tomcat 6.0 (running in Debug-mode on a dif Ferent machine, Sun jvm1.6.0_16, the debug connection do work correctly). Window---Preferences-----Compiler---Classfile Generation: "Add line number attributes to generate D class file "was checked. I did a clean, recompile. I did uncheck it, recompile, check it, recompile. I made sure the project did use the global settings. Still the same message. I switched to ant build, using<JavacSrcdir= "./src/java"Destdir= "./bin"Debug= "true">still, same message. I didn ' t find out what the caused this message and why it wouldn ' t go away. Though it seemed to has something to does with the running Tomcat debug Session:when disconnected, recompiling solves the Issue. But on connecting the debugger to Tomcat or on setting new breakpoints during a connected debug session, it appeared again . However, it turned out the message was Wrong:i is indeed able to debug and set breakpoints, both before and during debug Ging (Javap-l did show line numbers, too). So just ignore it:)


Source: Http://stackoverflow.com/questions/957822/eclipse-unable-to-install-breakpoint-due-to-missing-line-number-attributes






"Java Breakpoint Unable to install breakpoint" error when Eclipse makes debug


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.