Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

in how many ways i can debug my webapplication

 
saikrishna cinux
Ranch Hand
Posts: 689
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Chris Boldon
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 689
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you really want to use netbeans, try this link:

http://debugger.netbeans.org/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic