Using Madexcept in Server software
Posted: Fri May 14, 2004 12:45 am
I have peppered MadExcept throughout my program to handle various types of exception and email me the results. When I use a datamodule, it is sometimes in an application that used by a user, and sometimes in a server. The application reports the error to the user, but the server emails me and continues. When I debug either, it also emails me.
I'd like to be able to use the madexcept settings to email me when something happens in the server, or to log to something like the Event Viewer in NT/2000, or just a log file, but not just exceptions, good things as well.
I'd also like to have different madexcept settings when I am debugging. I'd like to be able to turn on or off some exceptions when debugging, not just permanently, but after I have seen them once. For instance I get a lot of OLE Errors, which I ignore. But if I turn off integrated debugging, I don't see other exceptions. I'd also like the emails not to occur while I am debugging, as this sometimes takes a brief while, especially when I am off site and running on a slow link. So I'd like a different set of options when debugging in Delphi from running not in Delphi.
Oliver Townshend
I'd like to be able to use the madexcept settings to email me when something happens in the server, or to log to something like the Event Viewer in NT/2000, or just a log file, but not just exceptions, good things as well.
I'd also like to have different madexcept settings when I am debugging. I'd like to be able to turn on or off some exceptions when debugging, not just permanently, but after I have seen them once. For instance I get a lot of OLE Errors, which I ignore. But if I turn off integrated debugging, I don't see other exceptions. I'd also like the emails not to occur while I am debugging, as this sometimes takes a brief while, especially when I am off site and running on a slow link. So I'd like a different set of options when debugging in Delphi from running not in Delphi.
Oliver Townshend