• 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

Debugging Servlets in Eclipse

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have deployed a .war file in Tomcat. Now I want to debug the application while running it as web based via code. Is it possible? If so please let me know the way. If the moderator feels this is not the right place to post this question please move this to specfic group.


thanks for your time and help in advance
Srinivas Ivaturi.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Srinivas,
This is definitely the right forum!

Take a look at Eclipse's remote debugging feature. (There should be a good description in the Eclipse help.) You give it the machine, which would probably be localhost, and the port.
 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do this in eclipse (running Jetty) by setting the app-server settings in 'preferences/myEclipse/AppServers' (or something close to that) If everything's configured and deployed correctly, and you start TomCat from eclipse, then you should be hitting your breakpoints. I only mention this as I do it without using the 'remote debugging' - never tried that.
reply
    Bookmark Topic Watch Topic
  • New Topic