Hi Han,
There are different approaches one can take on debugging a Java program:
1) Using System.out.println's at places you expect trouble.
2) Use a debugMode boolean property throuhout your program and a
(central?) logger. Make your object log info/warning/error messages to
the logger. Make the logger decide what to display to System.err (for
example), based on the debugMode condition.
3) Use a debugger provided by an IDE, like JBuilder or Symantec Visual
Cafe
4) Use the JDK Java debugger \:( (wouldn't do this if I were you)
"Han,sang-hyuck" wrote:
>
> I'm sorry to bother you all.
>
> I'm very confusing to debug Java Program..
> It's about 8000 Line.
You're not talking about _one_ .java file, are you? If so, I'd first
break it up in pieces that are not so hard to handle. Would probably
improve your design too.
> who do you know about Degugging Java Program.??
> any tool or any tips.
>
> anything is OK.
>
> please teach me about your secret skill to program Java..
>
> thanks alot ..........
>
> have a nice day..
>
> -----------------------------------------------------
> home : http://rtislab.chungnam.ac.kr/~java
> mail : [EMAIL PROTECTED]
>
--
_________________________________________________________
| "Come to me all you who are weary and burdened, and I |
| will give you rest." |
| |
| -- Jesus Christ (Mt. 11:28) |
|_______________________ _________________________________|
| Ernst de Haan | email [EMAIL PROTECTED] |
| Java programmer | web members.xoom.com/znerd/ |
| Utrecht University | icq# 21871778 |
|_______________________|_________________________________|