classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debug output problem in ObjectInputStream


From: Tom Tromey
Subject: Re: debug output problem in ObjectInputStream
Date: 02 Apr 2002 15:03:17 -0700

>>>>> "Per" == Per Bothner <address@hidden> writes:

Per> So if we want to keep the debugging printout, I suggest:

Per>    if (Configuration.DEBUG && dump)
Per>      for (int i=0, len=Array.getLength(array); i < len; i++)
Per>        System.out.println("  ELEMENT[" + i + "]=" + Array.get(array, i));

As I recall, Warren wrote all the debugging code.  He's probably in
the best position to say how useful it really is.  I've CC'd him.
(Warren, I'll forward you Per's note separately.)

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]