I thought I'd asked this question before, but I cant find in so maybe I'm hallucinating again...
I've been working lately on error trapping/handling/prevention applications for use with any application. I'm not a huge fan of the debugger. When something goes wrong, I dont feel like hunting it down, I want a detailed list of data pertaining to just what went wrong, dumped to file.
So; I've written all my own memory handling routines that safely allocate and dealloc memory. It checks for leaks and reports the location in the source of allocation, it reports shady use of the memory and the location in the source, and refuses to allow use of pointers to bad memory.
I also have an extensive error class which the programmer can use to track bugs, report errors, log data, etc. All of this is dumped to file to be checked out if a crash occures.
So what I'm wondering is; How many people out there are using their own custom error handling classes? What interesting ideas are floating around? I think we'd all benefit from a little sharing . I'm willing to put up my error handling routines for general use if enough people are interested. I want to know what you all use.