2

我在 Intellij 中使用“应用程序”配置运行我的 java 应用程序,并且我正在使用这些 vm 选项来使用 springloaded: -javaagent:.../springloaded-1.2.0.RELEASE.jar -noverify

使用 springloaded 重新加载的类工作正常。

但是调试器不会再在重新加载的类中的断点处停止。其他类中的断点仍然有效。

4

1 回答 1

3

This solution works:

  • start the application in run mode (instead of debug mode) with the remote debug option: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005

  • Start remote debug from intellij.

But perhaps there's a better solution?

于 2014-08-17T21:19:41.423 回答