Accepted answer

another "debugging break" is the use of method entry/exit breakpoints.

did you try to remove all breakpoint definitions once?

sometimes i think eclipse is getting out of synch with some of its internal/displayed state. perhaps you should try to setup a new (not copy) of your workspace. this sometimes helps me to recover from spurious features.

this is how you can remove all breakpoints

eclipse -> run -> remove all breakpoints - for removing all breakpoints for all time

eclipse -> run -> skip all breakpoints - for temporary remove breakpoints


clearing all breskpoints .. worked for me


normally java virtual machine turns off just in time compiler (jit) when running in debug mode. on ibm websphere, the ibm jdk is heavy de-optimized and will be very slow. by the way debugging also make impossible to recompile and optimize the code.

relay on logging for complex debugging: it will save your days on production, where you cannot debug for sure.


with all the learning over the years working with eclipse, here are couple of suggestions

  1. keep your open projects to minimal what you actually need
  2. keep it lean and thin - uninstall the plugins/features which you don't use (mylnn, validations etc).
  3. no matter what you do, the eclipse tend to get slower over the time. the ultimate solution to get a responsive ide is to recycle your existing workspace (create new workspace and bring in the projects which you need).


before you run your application in debug mode press on button (disable all breakpoints) and you wont experience slow loading or any problems. after your application has started just enable the breakpoints and then you can debug your code.


i faced this issue recently after upgrading my macos version. i wasn't able to fix the slow debugger with all the above solutions, i ended up installing a newer version of eclipse, and everything works prefect after that.


it happened to me once and the problem was, i had the folder with all my projects source code in the source look-up. this way, not only the debugger got really slow (because it probably crawled all my files) but also i could not do a lot of things such as inline execution.

the takeaway: check your source look-up. when debugging right-click in any thread from the debug view, choose edit source look-up and see what what you can/should remove from there. in my case, it was a spurious folder, other times you may have too many projects, folders, jars etc. and may remove some.


recently i was having extreme slow performance debug, both in eclipse and visual studio code (vs code)

in my case, the problem was with lombok configuration in jpa entities.

i changed the @data anottation to @getters and @setters.

looks like hashcode() and equals() implementantion of lombok was in conflict with jpa.


i've had the same problem. the work around i'm using is to just set a single break point and run to it. after that i don't try to step over or continue i just restart the test and move my break point to the next line i want to view. i am using junit with mockito in intellij. i'm guessing it has something to do with the byte code manipulation not matching the actual code in intellij. (in intellij, there is an implementation internal to intellij for running junit tests. mockito may not play will with it)


clearing temp files on windows fixed it for me

"c:\\documents and settings\\{user}\\local settings\\temp"


in my case, eclipse was trying to build files, which i was doing manually. going to window -> preferences -> run/debug -> launching, and then disabling "build (if required) before launching" underneath general options solved the slowness.


what kind of jvm are you attaching to? i found in my experience, that in debug mode ibm jdk is slow like hell. for all jvms, check if you have conditional breakpoints with expensive condition. try disable breakpoints. you may have exception breakpoints or expressions. try disable or remove them.


i have found that i often forget that i have a bunch of expressions added to the expressions panel that are no longer needed that are none the less being evaluated (or are failing to evaluate) and this slows stuff down a good deal. make sure that you keep those expressions cleared out when not needed.


close eclipse... clear %temp% folder, temp folder... disable breakpoints... in most cases this will definitely solve the problem.


disable 'show method result after a step operation'.

show method result after a step operation


i was just running a program in eclipse debug mode that was almost instant without debugging but when i ran it in debug mode, it was really slow. i went through and deleted a ton of random useless breakpoints i wasn't using and then the program sped up a lot (200x or so).


i faced this issue lot of time. solution is simple, remove all breakpoints. (run >> remove all breakpoints)

Related Query

More Query from same tag