wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 984

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.
subject: Debugging
Similar Threads
Phase-listener not being called
Canvas in sony-ericsson k700i
What finally convinced you to switch to an IDE?
debug cglib and javaasist code?
debuging a static block