debugging problem

I am attaching to a remote Java process for debugging purposes. IntelliJ connects to the remote address/port of the JVM fine, but when I insert breakpoints into the code it causes the remote process to spike the CPU and become unusable. I tested using eclipse to attach to the process fine. In eclipse I can attach to the same process and insert breakpoints and step through the code fine. What is intelliJ doing when I insert breakpoints that causes this problem?

The remote java process is running java version 1.4.2 and is started with the debug options -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8004

Please help!
-Rad

3 comments
Comment actions Permalink

Please describe what active breakpoints do you have set?
Are there any method or exception watchpoints?

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Rad" <rkneelan@charter.net> wrote in message news:33023924.44631222960358298.JavaMail.jive@app4.labs.intellij.net...
>I am attaching to a remote Java process for debugging purposes. IntelliJ connects to the remote address/port of the JVM fine, but
>when I insert breakpoints into the code it causes the remote process to spike the CPU and become unusable. I tested using eclipse
>to attach to the process fine. In eclipse I can attach to the same process and insert breakpoints and step through the code fine.
>What is intelliJ doing when I insert breakpoints that causes this problem?
>

The remote java process is running java version 1.4.2 and is started with the debug
options -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8004

>

Please help!
-Rad



0
Comment actions Permalink

Yes I had some method breakpoints. After reading a few of the other posts, I removed the method breakpoints and put the breakpoints on the first line of code inside the method. The debugger started functioning properly after that. However, I still ran into instability problems just stepping through the code. After stepping through the code into several functions I experienced hangs.

0
Comment actions Permalink

We experienced a similar problem. When remote debugging on a local machine (e.g. attaching to a local Weblogic server) all is well. When remote debugging on a machine located in a different state, it slows considerably to the point it is unusable. Now, you might say "makes sense, the server is located far away". However, we use Eclipse to do the same thing and it is much faster. Might be enough for some on our team to switch.

Thoughts?

0

Please sign in to leave a comment.