« GoogleCode, SVN and... | Main | Generating Excel... »

Glassfish Debug Mode no longer working in Eclipse

I was faced with a strange problem in my eclipse. When I start my glassfish out from eclipse in debug mode the debugger did no work properly. When I set a breakpoint the eclipse ide stops but was unable to open the corresponding java source file. So the code line of a breakpoint was not shown in the editor. So it was impossible to use the debugger.

The reason was because of a bug in an early jdk 1.6 version. I was running the glassfish with OpenJDK 6. And after I changed the glassfish server launch settings in my eclipse IDE from OpenJDK to sun-jdk  1.6.0_22-b04 the debugger works fine again.

here are the details about that issue:

http://ubuntuforums.org/showthread.php?t=1147960

https://bugs.eclipse.org/bugs/show_bug.cgi?id=279137