Subj : Re: error handling in SpiderMonkey To : Forest Rankin From : Brendan Eich Date : Mon Aug 11 2003 12:50 pm Forest Rankin wrote: >I believe you answered this by saying the parser doesn't have error >recovery, > Correct. > but I just wanted to clarify. I would like to be able to >report all/most errors in the script at compile-time and runtime. > Compile and runtime *errors* stop the compilation or execution cold. If you are seeing *warnings*, those do not stop either compilation or execution. If a runtime error is caught as an exception, you won't see it unless you re-throw it and no one else catches it. >In the mozilla browser you can open the JavaScript console which will >display all the errors and warnings on the current page. > Are you sure you are seeing *all* the errors? If you are not counting warnings as errors, then perhaps you are seeing different