> Question: > > Does gambas have any mechanism for global error handling -e.g error rigging > an entire project including all subroutines with a master error handler, > which would catch all un-handled fatal errors, and do something like pop up > a dialog box with options for user to type in what they were doing, write > to log file, email the developer? > > If not, how are other people handling this - I know there is the CATCH > statement. > > If not, are there any plans to do this. > > Regards > > Richard >
The mechanism exist internally - i.e. you can write a global error handler for uncatched errors in a C/C++ component. But you cannot do that in Gambas. Apparently it could be a good feature to implement, but I'm not sure there is no logical problems. For example, what to do if there is an error during the global error event handler? -- Benoît ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user