0

我有一些现有的源代码和 webapp 的 jars。我正在尝试使用 tomcat 运行 webabb,然后使用 eclipse 远程调试 tomcat 服务器以了解 webapp 发生了什么。

然而,出于某种原因,eclipse 拒绝捕获任何断点。我已经将服务器上 jar 的 md5sum 与我在调试项目中得到的 jar 进行了比较,并且它们匹配。

有什么方法可以让 eclipse 将远程 JVM 中的 java 类与本地 jar 中的 java 类协调起来,并确保它们对应。或者,也许,更具体地说,与我设置的断点相关的代码是否实际上已加载到远程 JVM 中?

4

1 回答 1

1

Check that on the Java Compiler properties page for the java projects in question that the class file options are all checked (you only need the first three but having all five checked is a good thing for debugging)

于 2012-07-23T21:51:10.963 回答