Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

in how many ways i can debug my webapplication  RSS feed

 
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
 
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.
 
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
 
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/
 
Whose rules are you playing by? This tiny ad doesn't respect those rules:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!