wood burning stoves 2.0*
The moose likes Struts and the fly likes Debugging Best Practices?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Debugging Best Practices??" Watch "Debugging Best Practices??" New topic
Author

Debugging Best Practices??

Vikas
Ranch Hand

Joined: Dec 16, 2004
Posts: 63
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
Florian Kammermann
Greenhorn

Joined: Jan 22, 2005
Posts: 8
Log4J
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

This site should help pick out the major things.


A good workman is known by his tools.
Sean Sullivan
Ranch Hand

Joined: Sep 09, 2001
Posts: 427
The book "Robust Java" has a chapter about debugging Java applications.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Debugging Best Practices??