Remote Debug RCP Application [message #240183] |
Thu, 25 January 2007 05:35  |
Eclipse User |
|
|
|
Originally posted by: FIRSTNAME.LASTNAME.sphere.ae
Can I remote debug an Eclipse RCP Application? If so, please indicate me how
I have to set up Eclipse Remote Debugging for this issue.
Thanks in advance!
|
|
|
|
|
|
Re: Remote Debug RCP Application [message #800508 is a reply to message #758653] |
Fri, 17 February 2012 01:49  |
Eclipse User |
|
|
|
if you using Server as Container then do the following,
JAVA_OPTS = "$JAVA_OPTS -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket, server=y, suspend=n, address = 8002"
If you are using RCP application only then it needs to done
-vmargs
-Xdebug
-Xrunjdwp:transport=dt_socket, address=8002,server=y,suspend=n
these 3 lines should be added to RCP appliacation *.ini file.
Then you need to create a new Remote Java Application run configuration
(in Run --> Debug ...). There you can specify the parameters for
connecting to your RCP.
Verify this port is same as Eclipse debug Configuration launcher port(8002)(Did using Debug->Debug Configuration->Remote Debugging). Use different port for Server and RCP application if you have Both server and RCP application.
And Run the server/RCP Application before Starting Eclipse debug Configuration.
|
|
|
Powered by
FUDForum. Page generated in 0.24443 seconds