This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: debug output problem in ObjectInputStream
- From: Tom Tromey <tromey at redhat dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: java at gcc dot gnu dot org, classpath at gnu dot org, Warren Levy <warrenl at cruzio dot com>
- Date: 02 Apr 2002 15:03:17 -0700
- Subject: Re: debug output problem in ObjectInputStream
- References: <3CAA232C.40109@bothner.com>
- Reply-to: tromey at redhat dot com
>>>>> "Per" == Per Bothner <per@bothner.com> 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