Solved

Problem in remote debugging with Eclipse

Posted on 2011-02-20
11
1,065 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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
 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java SE 8u111  Lot of stuff broke 11 69
map related example 6 49
check java version using powershell 13 93
Html Table Looping (part 2) 5 8
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
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…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

810 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