Subj : Re: error handling in SpiderMonkey To : Forest Rankin From : Brendan Eich Date : Sat Aug 09 2003 01:09 am Forest Rankin wrote: >How do I get the SpiderMonkey engine go through a >Javascript script from start to end and report ALL syntax errors it >can find, rather than just stopping on the first syntax error and kicking >out? > You'd have to add error recovery to the parser. That's something I wanted to do originally, but it never became important enough in web-browser embeddings. >I would also like to be able to log runtime errors and continue like >the browser does. > > What do you mean by continue? An error that is not caught as an exception stops the errant script or function in its tracks. /be .