[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Debug a bundle in Eclipse

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.

2007/10/10, Robert Varttinen <robert.varttinen@xxxxxxxxx >:
If you're running e.g. Sun's JVM you can remotely debug an Equiniox framework by using JDWP. Please see http://java.sun.com/javase/6/docs/technotes/guides/jpda/conninv.html for details on the parameters needed to launch the JVM and how to connect to it.

>From within Eclipse select "Run -> Debug ..." to open the launch configuration dialog. Then select "Remote Java Application" and right click. Select New and fill out the necessary connection details.... you'll also need to select at least one project whose source code you want to debug.




Från: equinox-dev-bounces@xxxxxxxxxxx genom António Mota
Skickat: ti 2007-10-09 19:46
Till: equinox-dev@xxxxxxxxxxx
Ämne: [equinox-dev] Debug a bundle in Eclipse

Is there a way to debug a OSGi bundle running under Equinox in the Eclipse UI?


equinox-dev mailing list

Melhores cumprimentos / Best regards
António Santos Mota