Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Debugging Best Practices??

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

We have recently started to work in Struts but we find debugging the most challenging in Struts. I want to know as to what are the best practice for debugging Struts Applications.

Thank you

Regards
Vikas
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Log4J
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "debugging" and what about it do you find being difficult with Struts?

If you're talking about debugging as in "using my IDE's debugger", then it should be no different from using, for example, plain Java Servlets.

If you're talking about "printing out stuff so that I can figure out later what exactly happened that lead to getting HTTP 500 on the browser", again, it should be no different from any other framework.
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This site should help pick out the major things.
 
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The book "Robust Java" has a chapter about debugging Java applications.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic