-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just wanted to remote debug one of my oo java components ...

I have the following paramters set in Tools -> Options -> Java

- -Xdebug
- -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n

I am using WinXP SP 2 / Java 1.5_04 and eclipse 3.1
some month ago, i had no problems at all ...

cause the debugging from eclipse does not work,
(see https://bugs.eclipse.org/bugs/show_bug.cgi?id=105828)

it tried "jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000"
from the command line, but this causes a

E:\>jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000
Set uncaught java.lang.Throwable
Internal exception:
com.sun.jdi.VMDisconnectedException: connection is closed
        at com.sun.tools.jdi.TargetVM.send(TargetVM.java:274)
        at 
com.sun.tools.jdi.VirtualMachineImpl.sendToTarget(VirtualMachineImpl.java:929)
        at com.sun.tools.jdi.PacketStream.send(PacketStream.java:41)
        at 
com.sun.tools.jdi.JDWP$EventRequest$Set.enqueueCommand(JDWP.java:6206)
        at com.sun.tools.jdi.JDWP$EventRequest$Set.process(JDWP.java:6176)
        at
com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.set(EventRequestManagerImpl.java:178)
        at
com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.setEnabled(EventRequestManagerImpl.java:142)
        at
com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.enable(EventRequestManagerImpl.java:127)
        at 
com.sun.tools.example.debug.tty.VMConnection.setEventRequests(VMConnection.java:270)
        at 
com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:177)
        at com.sun.tools.example.debug.tty.Env.init(Env.java:63)
        at com.sun.tools.example.debug.tty.TTY.main(TTY.java:964)


if I start my component *remote* from a commanline:

E:\>java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n 
-cp .;
D:\Programme\OpenOffice.org\program\classes\juh.jar;D:\Programme\OpenOffice.org\program\classes\jurt.jar;
D:\Programme\OpenOffice.org\program\classes\jut.jar;D:\Programme\OpenOffice.org\program\classes\ridl.jar;
D:\Programme\OpenOffice.org\program\classes\unoil.jar;D:\Programme\OpenOffice.org\program\classes\sandbox.jar
oo.comp.remote.RemoteConnectionMain

Listening for transport dt_socket at address: 8000

the component starts but as soon as I try to start the debugger I get abouve 
exception
and the following output from oo.comp.remote.RemoteConnectionMain:

ERROR: transport error 202: send failed: Software caused connection abort 
["transport.c",L41]
ERROR: transport error 202: recv error: Software caused connection abort 
["transport.c",L41]

can give me a hint ?

Oliver

- --

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC8LXsTiyrQM/QSkURAsw2AJ9C6+Mm6ZerPTTr1FXHaYQ8rqrk+wCfU6oJ
MvvuQijOVO1txsJL0+f7K40=
=ItGf
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to