IDEA IU 110.365 unable to remotely debug in some cases

Hi Everybody,

The remote debug functionality works with a project at work, but doesn't with my toy project. The project at work doesn't use maven. It uses ant to compile and then is deployed to weblogic 10.3.5.

I used maven to create the toy project. Particularly,
org.codehaus.mojo.archetypes:pom-root:1.1     -  to create a multi-module project named "rbs"
org.codehaus.mojo.archetypes:webapp-jee5:1.3  -  to create a webapp module named "dashboard"
org.codehaus.mojo.archetypes:ejb-jee5:1.3     -  to create an EJB module named "ejb-module1"
org.apache.maven.archetypes:maven-archetype-quickstart:1.1  - to create a JAR module named "jar-module1"
org.codehaus.mojo.archetypes:ear-jee5:1.4     -  to create an EAR module named "ear-only1" which uses org.apache.maven.plugins:maven-ear-plugin:2.6 to create an exploded ear directory which will be deployed to WebLogic 10.3.5 with
java -cp \Oracle-Middleware\wlserver_10.3\server\lib\weblogic.jar weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password password1 -deploy C:\run\shm\ear-only1\target\ear-only1
The project runs ok in weblogic but I couldn't set a break point in a Java file.
Does anybody know what my problem is?


Comment actions Permalink


Such a behavior (breakpoint mark is shown as invalid) occurs when byte code of the application under debug differs from the source code, i.e. there is no expression at that line of the code being debugged.


Comment actions Permalink

Thanks, Dennis.

I just found out the reason the byte code is different from the source code is that I used <fast-swap><enabled>true</enabled></fast-swap> in weblogic-application.xml.


Please sign in to leave a comment.