aspose file tools*
The moose likes Java in General and the fly likes in how many ways i can debug my webapplication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "in how many ways i can debug my webapplication" Watch "in how many ways i can debug my webapplication" New topic
Author

in how many ways i can debug my webapplication

saikrishna cinux
Ranch Hand

Joined: Apr 16, 2005
Posts: 689
actually i use system.out.println and log4j for debugging

is ther any other way to debug my webapplication?

and what is the difference between System.out.println debug and log4j debug methods?


please can any one tell me about this


thanks in advance


A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


is ther any other way to debug my webapplication?

You could use a logging framework other than log4j, or you could run the application in a debugger.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Chris Boldon
Ranch Hand

Joined: Aug 10, 2006
Posts: 190
Using an actual debugger is my choice. I use myEclipse workbech with Eclipse. It allows you to set breakpoints and step through. At the same time you can view all values, step into, step over, step to return...
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Debuggers are very useful and I always use one for development. However released code tends to run in environments where you can't use a debugger, so it is no substitute for proper logging.
saikrishna cinux
Ranch Hand

Joined: Apr 16, 2005
Posts: 689
so majority of the people suggest me to go for inbuilt debugger which is present in eclipse ?
am i right?
but i havn't know how to debug my webapplication in netbeans IDE

and thanks
Robert Hill
Ranch Hand

Joined: Feb 24, 2006
Posts: 94
If you really want to use netbeans, try this link:

http://debugger.netbeans.org/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: in how many ways i can debug my webapplication