[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [equinox-dev] Debug a bundle in Eclipse
|
Many thanks, i finally succeeded... I'm using the same in a 5.0 version:
-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=y
The difference from what i had was the suspend=y but i think my main mistake was to put that at the end of command line, and it has to come before the class to be launched.
Thanks all.
2007/10/11, Patrick Dempsey <pd@xxxxxxxxxx>:
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
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
--
Melhores cumprimentos / Best regards
António Santos Mota