The new tracing system has been updated so that it works on the bio* machines. To use the system, start at /FIG/Html/SetPassword.html on whichever version of SEED you're debugging. Contact me via EMAIL if you don't know the password. Fill your name or something similar into the Tracing Key field, then submit the form. This will take you to the Sprout debugging console. The tracing form is at the bottom.
Click here for information on how to enable your web scripts for tracing and generate trace messages. When you activate tracing using the Emergency Tracing form on the debug page, it creates a file in the FIG temporary directory. Your tracing key is stored in a cookie as long as you stay on the debug form, and the web scripts can use the cookie to find the temporary file and turn on the type of tracing indicated. There are also buttons on the form for turning off tracing and for showing the tracing file.
Continue reading "The Tracing System" »
The Tracer.pm module contains several utilities for processing tab-delimited files. Although none of these methods do anything spectacular, they take some of the tedium out of this kind of programming.
- Open opens a file and dies with an error message if the open fails.
- GetLine reads a line from the file, chops off the new-line, and splits it into pieces on tab boundaries.
- PutLine takes a list of text elements, joins them together with tabs, appends a new-line, and writes the result. This is basically the opposite of GetLine.
A sample program using these methods is shown below the fold.
Continue reading "Processing Tab-Delimited Files" »