Helios Eclipse java debugger on Windows very slowly allocates source code

I have Eclipse Helios SR1 installed on Windows XP. I am writing / debugging Java code using JDK 1.6.

When I debug and hit a breakpoint, Eclipse quickly shows me the stack. (See No. 1 in the attached image.)

However, highlighting a line of source code (light green, see # 2 in the attached image) appears very slowly. Oddly enough, when I first installed Eclipse, it was very fast. Now it is very slow. It takes about 15 seconds to highlight a light green color.

Any ideas what is wrong with my Eclipse installation / configuration?

FYI: very fast processor + 4 GB of RAM. Lots of disk space. I tried the Java Hello, World project. Just a few lines of code ... still the same problem when hitting a vanilla breakpoint.

enter image description here

+4
source share
4 answers

The answer is simple: create a new workspace.

I did this and now my debugger is super-fast again.

0
source

According to running-a-program-in-debug-mode-is-incredible-slow, I managed to run

eclipse -clean

(check this out before setting up a new workspace)

+2
source

This, of course, is not an Eclipse problem. If he stands out, then his work.

There must be something wrong with Windows. More RAM does not mean faster processing. Check the task manager and try to control processes, especially java. There may be several java processes that destroy unnecessary ones.

If the laptop uses some kind of disk encryption, then this is certainly possible.

If your antivirus infects the CPU, it’s possible.

0
source

Or else you can do one more thing: every day you can manually clean your project, and you can also limit the limit on the console.

0
source

Source: https://habr.com/ru/post/1347658/


All Articles