Solved

Problem in remote debugging with Eclipse

Posted on 2011-02-20
11
1,057 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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: …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

760 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

21 Experts available now in Live!

Get 1:1 Help Now