Solved

Problem in remote debugging with Eclipse

Posted on 2011-02-20
11
1,060 Views
Last Modified: 2012-06-27
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
Comment
Question by:softbless
  • 7
  • 3
11 Comments
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 34936669
How configer remote IP ?

in cmd promet or Eclipse run/debug menu ?
0
 

Author Comment

by:softbless
ID: 34936691
What do you mean by remote IP? I just enter : localhost

this is my setting on eclipse

 screenshot-eclipse
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 34936699
host : you want to give remote IP not yours(localhost is ur IP)
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 34936709
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
 
LVL 20

Accepted Solution

by:
Sathish David  Kumar N earned 334 total points
ID: 34936714
Remote IP means....
where the code running system ? is it in your system or some other system ?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:softbless
ID: 34937378
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
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 34937570
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
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 34937573
where is ur application running in ur system or some other system ?
0
 
LVL 20

Assisted Solution

by:chaitu chaitu
chaitu chaitu earned 166 total points
ID: 34940492
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
 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 334 total points
ID: 34940841
0
 

Author Closing Comment

by:softbless
ID: 34976872
thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now