?
Solved

Problem in remote debugging with Eclipse

Posted on 2011-02-20
11
Medium Priority
?
1,079 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
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 1336 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 664 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 1336 total points
ID: 34940841
0
 

Author Closing Comment

by:softbless
ID: 34976872
thanks
0

Featured Post

Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!

Question has a verified solution.

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

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 column That will then direct you to their download page. From that p…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

741 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