Subj : error handling in SpiderMonkey To : netscape.public.mozilla.jseng From : frankin@miramar.com (Forest Rankin) Date : Fri Aug 08 2003 06:38 pm I've been searching the newsgroup archives for a while, but haven't seen a final solution to this problem, so forgive me for bringing up an old topic that might have been finalized already without my knowledge. I'm interesting in providing the best error-checking experience that I can to users of my specific implementation of SpiderMonkey, which includes a one-time parse of the script to sweep for syntax errors, and then the execute. 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? I would also like to be able to log runtime errors and continue like the browser does. thanks .