Hello all, I know there was some discussion of this before Xmas but I don't see any resolutions. Heres my situation:
I have IDEA running on Sun JDK1.3.1_01 on Win2k and connecting to a RedHat linux box which is running a servlet suite from ApachJserv 1.1.3-7 on Blackdown JDK 1.3.0-02. BTW, it is necessary to start Jserv in debug mode using a manual launch - I found this out after much digging around on the net and a lot of frustration. I have recompiled all my classes with Sun's javac (they were previously set up with Ant tasks that used jikes). This last step was taken because of reported problems with jikes compiling inappropriate debug info. At first, IDEA happily connects to the debuggee VM. Thereafter any browser request then undertaken results in a timeout - a look at the netstats of the server show an ESTABLISHED tcp connection to jserv's debug port. At this point, if I stop the debugging session (saying 'no' to the stop remote process dialog) IDEA freezes until I quit the remote VM (JServ). As soon as the remote VM closes, IDEA wakes up again. I then tried running IDEA on linux from the same JDK as the debug target. Again, connection was fine, this time *depending upon where the breakpoint is* a browser request is successfully caught - however, although I successfully hit code breakpoints and can use the interactive debugger I can only step thru a few lines of code before the GUI freezes and I have to close down Jserv. I should note that there seems to be no pattern as to why the breakpoints matter - I am deliberately avoiding method breakpoints as I know they are problematic. Sometimes the browser times out, other times it triggers the breakpoint in IDEA. Again, as soon as the remote VM closes, IDEA wakes up again. A couple of tests show that there doesn't seem to be a pattern to when this lock-up occurs - the same class may lock up at line 30, then, after a restart, line 200 etc. In this scenario, IDEA reports a stacktrace similar to that described by the user before Xmas (attached at end). As a sidenote, I also tried the open source graphical debugger JSwat (http://www.bluemarsh.com/java/jswat/). This is a nice little gui but suffers from the same problem - random freezes while waiting for a reply. The author of JSwat felt that the problem was happening at the JDWP layer and suggested I contact the JPDA people. I would if I knew who they were! There seem to be very few detailed resources on this out there and somehow I don't think Sun engineers respond to this level of query... I'd be *very* grateful of any hints, tips, pointers etc - this has been driving me crazy for a week. Thanks for a truly great IDE. Please let me know if you need any more details and heres that stacktrace: Exception occurred during event dispatching: com.sun.jdi.VMDisconnectedException at com.sun.tools.jdi.TargetVM.waitForReply(TargetVM.java:271) at com.sun.tools.jdi.VirtualMachineImpl.waitForTargetReply(VirtualMachineImpl.java:695) at com.sun.tools.jdi.PacketStream.waitForReply(PacketStream.java:54) at com.sun.tools.jdi.JDWP$EventRequest$Clear.waitForReply(JDWP.java:5024) at com.sun.tools.jdi.JDWP$EventRequest$Clear.process(JDWP.java:5000) at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.clear(EventRequestManagerImpl.java:172) at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.setEnabled(EventRequestManagerImpl.java:130) at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.disable(EventRequestManagerImpl.java:123) at com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.delete(EventRequestManagerImpl.java:110) at com.sun.tools.jdi.EventRequestManagerImpl.deleteEventRequest(EventRequestManagerImpl.java:575) at com.intellij.debugger.breakpoints.LineBreakpoint.b(LineBreakpoint.java:1) at com.intellij.debugger.breakpoints.a.b(a.java:321) at com.intellij.debugger.breakpoints.l.f(l.java:5) at com.intellij.debugger.actions.u.dispose(u.java:11) at com.intellij.debugger.breakpoints.x.actionPerformed(x.java:2) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216) at java.awt.Component.processMouseEvent(Component.java:3717) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:912) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.EventQueue.dispatchEvent(EventQueue.java:333) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.Dialog.show(Dialog.java:370) at java.awt.Component.show(Component.java:946) at java.awt.Component.setVisible(Component.java:903) at com.intellij.debugger.actions.ViewBreakpointsAction.actionPerformed(ViewBreakpointsAction.java:6) at com.intellij.jd.actions.bb.f(bb.java:84) at com.intellij.jd.actions.bb.processMouseEvent(bb.java:23) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:912) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.EventQueue.dispatchEvent(EventQueue.java:333) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
