My problem is not new, and I found several threads about it, but no one helped me. I hope it will be.
I cannot debug eclipse. It recognizes breakpoints, switches to the debug view, but somehow it goes out of sync, and I can't debug my code. Sometimes it works, but after a while it happens again.
I work with JDK 1.6.0_24, Glassfish 3.1, eclipse INDIGO (but this also happens on HELIOS).
I tried (as I found on this site) to install eclipse to use Parallel GC. I tried to put it in the eclipse.ini file, I tried to put the arguments of the Glassfish virtual machine inside myself, and I tried to put additional arguments of the virtual machine in the eclipse JDK (preference β set JRE-> JDK β etc.). Nothing works for me. I also tried them all together.
Help me please.
Thanks to everyone, Ido
EDIT:
OK, I noticed a few more things:
In the Debug view on my stck trace, I found that the exact class with the breakpoint was paused, and it had this comment: "(Suspended breakpoint on line XX)." When I clicked on the line, a green line suddenly appeared. However, as soon as I pressed F6 to continue, it again failed, only the next line was paused. Weird
I checked the processes running on my computer and found that several "java.exe" processes were running at the same time. (eclipse runs on javaw.exe). Perhaps that is why glass fish and the eclipse refuse to work together.
I checked the build path and found that this is my output folder: project-name / target / classes. It's good?
Any thoughts?
Ido
source share