Solved

Problem in remote debugging with Eclipse

Posted on 2011-02-20
11
1,067 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
The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

 
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!

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
javap bin 2 40
How to increase Spring boot/Tomcat max file upload size 2 138
Eclipse with gitlab 1 79
Java exception bubble up 2 21
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

808 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