unable to place breakpoints in eclipse

后端 未结 8 1561
礼貌的吻别
礼貌的吻别 2021-01-02 16:34

I am using eclipse europa (3.5) on windows vista home premium 64-bit using JDK 1.6.0_18 (32 BIT).

Normally, I am able to put breakpoints just fine; However, for a pa

相关标签:
8条回答
  • 2021-01-02 17:05

    When trying at add breakpoints for a .jsp page it turned out the page was not opened with a JSP editor, which prevented the setting of breakpoints.

    0 讨论(0)
  • 2021-01-02 17:06

    It sounds like Eclipse cannot find the jar file on the classpath, although you did say that the jar file is part of the project. What happens if you run the application normally? Do you get a ClassDefNotFoundException or something similar?

    If you check the tabs on the Run/Debug configuration you should be able to see what paths and jar files are on the classpath at runtime. You can also add jar files that are not needed to build the application but are needed to run it.

    0 讨论(0)
提交回复
热议问题