Why doesn't Firefox (or Chrome) JavaScript console alert me to errors which occur within a self-created object constructor or method?
<p>I have an html doc and it inlcudes a few javascript files.  One file, "profile_init.js", defines functions and generally guides the program.  THe other, common.js, is a library of sorts which contains many object definitions. </p>

<p>As I am just getting into OO programming, I am noticing something extremely frusterating. THe JS error console does not alert me to errors which occur "within an object".  Let me give an example.</p>

<p>If I have an error, such as a type where is mis-type the name of a variable in profile_init.js, it will say something like "symbol not defined:line 822".  However, if the same thing occurs within the objects's definition, I get no error. </p>

<p>To summarize,I would say that the console fails to specify errors which occur within a object definition (class?).</p>

<p>thanks for any insight here.  this is really slowing me down!</p>
