This week's book giveaway is in the Design forum.
We're giving away four copies of Head First Software Architecture: A Learner's Guide to Architectural Thinking and have Raju Gandhi, Mark Richards, Neal Ford on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What is remote debugging in Eclipse Genymede?

 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi members,

Can anybody give me better explanation of Remote Debugging in Eclipse ? Please also provide me some useful links that can helpful, if possible !

Is it possible to debug an executable jar file?

In fact I have a Java Swing based application .It runs fine when I run it in my Eclipse IDE . But when I execute it execute independently. It got stuck somewhere !
I want to track that point where and what is the execption is ?

Any help would be appreciable !


Thanks in advance !

 
Saloon Keeper
Posts: 27891
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The JVM has a debugger built into it. That means that ANY java app can be debugged - JAR, WAR, applet, servlet, whatever.

The mechanism works courtesy of a standard debugging protocol and a network debugging port. In other words, the JVM acts as a debugging server. You define the port number when you start the JVM. One popular port number is 8000, but there's no standard port. You can use any one you like, as long as no other app is using it.

Remote Debugging is the process of connecting a remote debugging client (such as Eclipse) to the debugging server. One of the options that the JVM has is that it can either halt the application on startup and wait for the client to connect and resume execution, or it can start in the normal way and the client can connect (and disconnect) any time it wants to.
 
Fidel Edwards
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Tim !

Sorry for replying late. Meanwhile, I found a very nice tutorial for Eclipse Remote Debugging. It is really nice for novice .

http://www.ibm.com/developerworks/opensource/library/os-eclipse-javadebug/index.html?ca=drs-tp5008

Thanks once again !
reply
    Bookmark Topic Watch Topic
  • New Topic