Re: Standardized Euphoria -> Debug and Error Handling
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jan 13, 2007
- 605 views
Chris Bensler wrote: > The only problem here is that the applications halt within the fatal_error > routine and the ex.err traceback has to be followed out of the error > branch. In Positive I added "without debug" to avoid that issue. Fairly obviously, you need to be pretty certain the code is completely bug-free before slapping that in as you will otherwise struggle to debug it! When set, it just inhibits emit of opLnt (=OPSTARTLINE & DISPLAY_VAR?) and sets a bit on any routines added to symtab, for the ex.err create routine. Like other with/without options, the setting is restored at eof. I just quickly skimmed your code and it looks pretty good. Regards, Pete