• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1090
  • Last Modified:

Problem in remote debugging with Eclipse

Hi Guys,

Please help. I did remote debugging, but it's giving me error.

The firewall is off, and i;ve checked that this port 8009 is working, I've checked that it's listening.

But it always give connection timed out. I attach the screen shot.

 Screenshot
This is the configuration :
set JPDA_ADDRESS=8009
set JPDA_TRANSPORT=dt_socket
set DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8009

Please help. Thanks.
0
softbless
Asked:
softbless
  • 7
  • 3
3 Solutions
 
Sathish David Kumar NCommented:
How configer remote IP ?

in cmd promet or Eclipse run/debug menu ?
0
 
softblessAuthor Commented:
What do you mean by remote IP? I just enter : localhost

this is my setting on eclipse

 screenshot-eclipse
0
 
Sathish David Kumar NCommented:
host : you want to give remote IP not yours(localhost is ur IP)
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Sathish David Kumar NCommented:
you can go to remote machine !

and go to command promet and Ipconfig or hostname in the command promet and the result paste in host !

0
 
Sathish David Kumar NCommented:
Remote IP means....
where the code running system ? is it in your system or some other system ?
0
 
softblessAuthor Commented:
it's in my system.

Btw, what do u mean by command promet?

I've replaced the localhost with my computer name and ip address, but it's still giving the same error.
0
 
Sathish David Kumar NCommented:
This configuration for remote system not for local system .

Remote system : Another system which is running your application

Local System : which is ur login so u need only normal debugging method .

http://www.vogella.de/articles/EclipseDebugging/article.html 

http://www.developer.com/java/other/article.php/2221711/Debugging-a-Java-Program-with-Eclipse.htm
0
 
Sathish David Kumar NCommented:
where is ur application running in ur system or some other system ?
0
 
chaitu chaituCommented:
i think you might already connected to debugging to ur local system.put break points in ur application and check debugging is happening or not.
0
 
softblessAuthor Commented:
thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 7
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now