EasyDebug example

EasyDebug helps CGI programming by trapping errors and generating a nice online HTML report. More info can be found on my site.

Check the file errortest.cgi inside the www/cgi-bin folder. See that we try to access the title of a stack that is not on memory and that triggers the error that is handled by a try/catch block. This block uses thecgiError function to generate the detailed report.

Error Test. This link will trigger an error! What you'll see when you click is a detailed report on the error as gathered by EasyDebug library.