We recently upgraded from WebLogic 11 to WebLogic 12c (v12.2.1.2) (We are running Oracle Commerce 11.3 framework using Java 8). After the upgrade we found that the Eclipse debugger would hang indefinitely as you began to step through code and the only way to recover would be to suspend the debugger. We have tried multiple different versions of Eclipse including Mars, Neon, and Oxygen and they all demonstrated the same behaviour. Below is the WebLogic JVM startup arguments we are using to enable debugging:
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=n
In Eclipse we setup remote debugger and it would fire up correctly and my breakpoints would trigger correctly, however it would hang after stepping through a few lines of code (We tried debugging multiple different java classes)
Any thoughts on how to fix this issue?
It turns out the old JVM arguments no longer work with WebLogic 12c. Using the below JVM arguments solved the issue:
-agentlib:jdwp=transport=dt_socket,server=y,address=1044,suspend=n