New Site Error Tracking
by Rick Overman · in Site Feedback · 03/31/2002 (1:58 pm) · 2 replies
This has been on my to do list for a long time and will help reduce my time spent tracking down and reproducing bugs. And finding bugs no one is reporting.
by using the PHP set_error_handler routines I monitor each page as it is rendered. If any errors are detected they are entered into a database and if it's the first occurence a mail is sent to me which contains an enormous amount of state information about the url, active variables, browser type etc so that I can easily track down the bug.
Fatal bugs will produce a nice error message and halt the page processing. While simple errors only report the bug and page processing continues.
If you encounter any problems related to this new feature or have any suggestions please let me know.
--Rick
by using the PHP set_error_handler routines I monitor each page as it is rendered. If any errors are detected they are entered into a database and if it's the first occurence a mail is sent to me which contains an enormous amount of state information about the url, active variables, browser type etc so that I can easily track down the bug.
Fatal bugs will produce a nice error message and halt the page processing. While simple errors only report the bug and page processing continues.
If you encounter any problems related to this new feature or have any suggestions please let me know.
--Rick
#2
--Rick
03/31/2002 (4:24 pm)
So far it has found 15 bugs (although very minor) that I didn't even knew existed. For such little work this error handler is going to help so much.--Rick
Torque 3D Owner Xavier "eXoDuS" Amado
Default Studio Name