RE: Greetings again all
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Jul 29, 2002
- 403 views
> -----Original Message----- > From: draegur at earthlink.net [mailto:draegur at earthlink.net] > The only problem I still have with euphoria is the lack of error > trapping. One little coding error and down goes my game. Has there, by > any chance, been any developments in this area? Is it possible now in > euphoria to trap the errors somehow and avoid the crashes? There are some libs that work with exceptions of some sort. Also, my modified interpreter could help you. You can specify a crash routine. You can also get a dump of the symbol table, allowing you to possibly recover the program state after an error. You might be able to dump vars, start a new instance of the mud, and allow it to recover from there. Of course, I suppose you'd have to reestablish connections and so forth (but I'm sure you know a lot more about that end of it than I do)... Oh, and it would also need to be recompiled for linux (I could only get Borland to work for me), which I don't have. If anyone is willing, I'd be happy to share my modifications for you to recompile under linux/dos (assuming you've registered the source code already, of course :). Matt Lewis