Problem debugging GlassFish 3.1 in Helios
When using Helios to debug GlassFish I have a problem where the debugger doesn't highlight the appropriate source line on breakpoints or while stepping. If you manual identify the suspended thread in the debug tab and double click it you do see the selected line and can inspect variables normally. However as soon as you step on you lose the debug point highlighting. This effectively makes the debugger useless.
I have a workaround which is to set up a new Remote Java Application debug configuration connecting to the glassfish server on port 9009. If the server is launched in the server view and then you disconnect the debugger, you can launch the Remote Java Application debug configuration. This then works correctly.
It's not a major problem but it would be nice to have a fix, whether it's something I've done or a problem with one of the components of the environment.
The environment is a clean install of jdk-6u25-windows-i586, eclipse-jee-helios-SR2-win32, glassfish 3.1 (downloaded and installed using New Server - Download) and GlassFish plug-in installed using the Eclipse Update Center url http://download.java.net/glassfish/eclipse/helios.
I think this is the same problem as that discussed:
But the solutions described, namely using a sun jdk > 1.6.0_22-b04 and installing glassfish through Servers → New → Server → Download additional server adapters don't seem to work for me.
Anyone seen this or know of a solution?