| Visible Workings > Trace.java Description |
Trace.Java |
Trace.java is a package used by Java programmers, testers, server administrators and others to understand what happened during the execution of a program. It requires programmers to add tracing statements like the following to the code.
commTrace.eventm("PROBE message detected from IP address" + addr);
Messages like the following end up in a log. There is flexible control over which types of messages end up where.
=== 1997/09/22 13:52:09.342 (Incoming.Parcel:Parcel.java:126) EVN
comm: PROBE message detected from IP address 123.44.53.12
Its documentation, including an introduction, is here.
Trace is distributed in two forms: as a zip file or a Unix-style tar file. Each contains a jar file, the complete source (under the Mozilla license), the documentation, and tests. Unpack the archive, then begin by looking at the file "=README.txt".
The mailing list is at www.egroups.com/group/Trace-java. You can subscribe by sending mail to Trace-java-subscribe@egroups.com.
Hope you like it.