> Date: Fri, 11 Dec 1998 13:43:25 +0100
> From: Ernst de Haan <[EMAIL PROTECTED]>
> To: "Han,sang-hyuck" <[EMAIL PROTECTED]>
> Cc: John Summerfield <[EMAIL PROTECTED]>,
>         Christopher Hinds <[EMAIL PROTECTED]>,
>         "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>,
>         Java-Linux <[EMAIL PROTECTED]>
> Subject: Re: How can I debug Java Program??
> 
> 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)

There are a couple other options on Linux.

Metamata Debug, from my employer: http://www.metamata.com/products/debug.html
Non-free, but you can download an evaluation copy.

IBM's Jikes debugger: http://www.alphaWorks.ibm.com/formula/JikesDebugger
A free graphical debugger using the sun.tools.debug classes.

-Darius

Reply via email to