facebook

Debugger disconnet form Jvm

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #262660 Reply

    gandalf902002
    Participant

    Hi,
    while debugging with Myeclipse I receive a disconnect from JVM form different project
    I have Eclipse 3.2.1, jdk 1.5_09 and Myeclipse 5.1, but I have the same problem with Myeclipse 5.01 too
    I have no firewall and antivirus is disabled.
    My conf
    ** Date: Tue Nov 28 09:13:15 CET 2006

    *** Platform Details:

    *** System properties:
    awt.toolkit=sun.awt.windows.WToolkit
    eclipse.buildId=M20060921-0945
    eclipse.commands=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    D:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    fcc_78
    -vm
    C:\WINDOWS\system32\javaw.exe
    eclipse.ee.install.verify=false
    eclipse.product=org.eclipse.sdk.ide
    eclipse.startTime=1164694796890
    eclipse.vm=C:\WINDOWS\system32\javaw.exe
    eclipse.vmargs=-Xms40m
    -Xmx256m
    -jar
    D:\eclipse\startup.jar
    eof=eof
    file.encoding=Cp1252
    file.encoding.pkg=sun.io
    file.separator=\
    java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob=sun.awt.windows.WPrinterJob
    java.class.path=D:\eclipse\startup.jar
    java.class.version=49.0
    java.endorsed.dirs=C:\Programmi\Java\jre1.5.0_09\lib\endorsed
    java.ext.dirs=C:\Programmi\Java\jre1.5.0_09\lib\ext
    java.home=C:\Programmi\Java\jre1.5.0_09
    java.io.tmpdir=C:\DOCUME~1\alex\IMPOST~1\Temp\
    java.library.path=C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;C:\Programmi\IDM Computer Solutions\UltraEdit-32;D:\Programmi\MySQL\MySQL Server 5027\bin;C:\Programmi\QuickTime\QTSystem\
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=1.5.0_09-b03
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.5
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.5.0_09
    java.vm.info=mixed mode, sharing
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=1.5.0_09-b03
    line.separator=

    This is my log

    eclipse.buildId=M20060921-0945
    java.version=1.5.0_09
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY org.eclipse.jdt.debug 4 120 2006-11-28 09:11:54.390
    !MESSAGE Internal error logged from JDI Debug:
    !STACK 0
    com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine
    at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:162)
    at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:177)
    at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:174)
    at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:192)
    at org.eclipse.jdi.internal.VirtualMachineImpl.classesBySignature(VirtualMachineImpl.java:536)
    at org.eclipse.jdi.internal.VirtualMachineImpl.classesByName(VirtualMachineImpl.java:563)
    at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.getJavaTypes(JDIDebugTarget.java:1521)
    at org.eclipse.jdt.internal.debug.ui.JavaDebugHover.getHoverInfo(JavaDebugHover.java:144)
    at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo(BestMatchHover.java:102)
    at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo(JavaEditorTextHoverProxy.java:69)
    at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:160)

    Thanks a lot

    #262741 Reply

    Riyad Kalla
    Member

    Is there a reproducable situation you can find that always causes the disconnect? For example, does it always disconnect after 10mins? Does it always disconnect after modifying the code 5x, things like that.

    #262803 Reply

    gandalf902002
    Participant

    @support-rkalla wrote:

    Is there a reproducable situation you can find that always causes the disconnect? For example, does it always disconnect after 10mins? Does it always disconnect after modifying the code 5x, things like that.

    Unlucky there is no reproducable situation (or I do not find it) but the problem is more frequent to the begin of debug session.
    I red in forum that other users reported the same problem in 5.0.1 version. I used for one year 4.x version and no one time reported thsi problem. Is it possible a combination of jdk 1.5_09 for this probelm ? I have Jrockit Jvm installed on my pc. Can I use this Jvm to know if the problem is jdk ? How can I configure Myeclipse to use JRockit jvm ?
    Thanks a lot for all

    #262805 Reply

    Riyad Kalla
    Member

    Gandalf,
    You can force MyEclipse to start with a different vm by using the -vm argument on the command line and point it directly at the executable like this:

    eclipse.exe -vm C:\Program Files\Java\jdk1.4.2_12\bin\javaw.exe

    or something along those lines. We don’t test with JRockit, so if that doesn’t work, you could try a recently build (100+) of JDK 6 (http://jdk6.dev.java.net) as we’ve seen some users say that actually fixed some issues for them, but again not a JDK we test with (in my personal experience JDK 6 was pretty good running MyEclipse, but I didn’t test it very hard).

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Debugger disconnet form Jvm

You must be logged in to post in the forum log in