2

I'm running my java application with an "Application" configuration in Intellij and I'm using these vm options for using springloaded: -javaagent:.../springloaded-1.2.0.RELEASE.jar -noverify

The class reloading with springloaded works fine.

But the debugger won't stop any more at the breakpoints in the reloaded classes. Breakpoints in other classes still work.

Matthias M
  • 12,906
  • 17
  • 87
  • 116

1 Answers1

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?

Matthias M
  • 12,906
  • 17
  • 87
  • 116