Using "Debug Mode" to Diagnose Problems


In this section we'll look at using Quick Tables' "debug mode" to diagnose problems. Quick Tables' debug mode is similar to debug mode in the current SDA CGI programs. To debug a dataset's configuration just add a "+debug" to any dataset's start-up link. For example, here's a typical Quick Tables start-up link:

http://sda.berkeley.edu:8080/quicktables/quickconfig.do?teds2000

To debug this start-up link just add a "+debug" after the dataset key:

http://sda.berkeley.edu:8080/quicktables/quickconfig.do?teds2000+debug

When you click on the debug mode link above you'll see a page of debug output that: 1) checks for various errors; 2) lists the contents of the dataset's XML configuration file in a (somewhat) reader-friendly manner so you can determine if any configuration information is missing or incorrect. Since there are no errors in the above setup, debug mode doesn't report any problems. Let's look at a few configurations with (intentional) errors to see what happens when there are problems.

[Note: we expect to make some additions and improvements to the debug mode output while beta-testing continues. If you find any problems or have any suggestions, please let us know.]


Last modified: 4/7/03