This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Debugging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Debugging" Watch "Debugging" New topic


saisailaja bharadwaj

Joined: Jul 26, 2001
Posts: 7
How do you Debugg a Java Programm.What is meant by debugging?
thank you
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

Debug means to fix (remove the bugs).
So if your program has a problem you would debug it. There are lots of different ways of doing that. Sometimes looking at the code is all you need to do to find the problem. The next step would be to put a bunch of "println" statements into your code, and use them to figure out what the problem is. The best way to debug is to use a "debugger". Some debuggers are command line ones, like jdb, and others are graphical ones. All of them are suppose to help you by showing you what you program is actually doing. Most IDEs have built in debuggers.

Please ignore post, I have no idea what I am talking about.
It is sorta covered in the JavaRanch Style Guide.
subject: Debugging