• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Debug Swing application from eclipse

 
Himanshu Rawat
Ranch Hand
Posts: 141
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

I was trying to debug a swing application from eclipse but really have no idea how to achieve this. I know to how to debug web application through remote debug option but that's applicable to web based application running on some port.

Scenario is

I am running Swing application on Desktop and code is in the eclipse. How to connect to code on each click in eclipse??
Its similar to debugging web app.

Any suggestions or tutorial please!!

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way? Load the project source code into Eclipse, set your breakpoints, and click on the Debug button.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic