0

When I'm debugging my Java EE application on Weblogic from Eclipse, in some cases just the fact that the debug is connected and enabled, causes high CPU utilization. The moment that I disconnect from debug port, the CPU utilization drops to normal levels.

What can cause it and how can I solve it? Thanks!

Update(s): Java version 1.6.0_45 (64bit)

7
  • Which version of Java do you have? This shouldn't happen in modern JVMs. Commented Feb 25, 2015 at 13:29
  • Yes, it's Java 1.6.0_45. Commented Feb 25, 2015 at 13:36
  • java 6 shouldn't be so bad. I assume using Java 7 or Java 8 is not an option. Commented Feb 25, 2015 at 14:14
  • 1
    Unfortunately your assumption is correct. Commented Feb 25, 2015 at 15:49
  • Do you have the same problem with Netbeans? What about jdb? Since you said port, is this a local JVM you're attaching the debugger to? Commented Feb 25, 2015 at 16:02

1 Answer 1

1

in java debugging you can do something called method debugging, that type of method debugging severely impacts performance, make sure you didnt accidently added one of those

eclipse method breakpoints

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, now when searching for method debugging I realize that it's an old and known problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.