Here are the options that I use to debug from an eclipse to a separate equinox. Start the equinox with these options -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=y -Xdebug
Then choose "Remote Java Application" Connection type "Standard (Socket Attach)" host will be localhost (or your ip) and port is the address= line (so in this case 8000)
Patrick
On Oct 10, 2007, at 10:07 AM, António Mota wrote: Hi, thanks for your answer.
I'm not succeeding doing this, let me elaborate a little more:
Both Eclipse and Equinox is running on my machine, and the Eclipse help says Remote Java Application shoule be used "when debugging an application that is running on a remote VM". Is this ok?
Then, since using the same machine, i though about using dt_shmem but the Eclipse configuration only allows dt_socket.
Then, using dt_socket, i tryed some combinations of server, suspend and address, but none did work.
Nevertheless, using not matter what configuration, when i start the Remote Java Application on Eclipse i receive very shortly after
Failed to connect to remote VM. Connection refused. Connection refused: connect
Can someone help a little further?
Thanks all.
-- Melhores cumprimentos / Best regards António Santos Mota_______________________________________________ equinox-dev mailing list
|