Yes, please do put it out. On Wednesday 01 March 2006 13:34, [EMAIL PROTECTED] wrote: Yep, I like it so much that I created a package to track the history of specific errors that come from specific routines. This is really valuable to see when a specific problem first started and who was involved. It may be a software bug, or a training issue (especially if only a single user is having these problems). My code saves the stack and the option which was used to get to the failure. I believe I put this out once before, but would be happy to make it available again.
> --- [EMAIL PROTECTED] wrote: >> By the way, I have used the let it crash technique to seal up holes >> in >> already existing applications so I could trace back how bad data got >> into the system via which modules and applications.... > > Does everyone realize that you can still log an error after you trap > it? (Yes, Chris, I'm sure you know.) The basic template is > > > TRAP ; > ;do any necessary cleanup here > D ^%ZTER ;log the error > D UNWIND^%ZTER ;quit back to the calling level > Q > > It's good practice to create an entry in the error log, even if you can > "recover". Obviously, expected "errors" like device at EOF are an > exception (pun intended). > > === > Gregory Woodhouse <[EMAIL PROTECTED]> > "All truth passes through three stages: First, it is ridiculed. > Second, it is violently opposed. Third, it is accepted as > being self-evident." > --Arthur Schopenhauer ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members -- Nancy Anthracite ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members