Loading 

    http://members.nbci.com/AtheniaG/charming.htm

with the latest nightly build of Mozilla (on Linux), I get this 
error:

Javascript error: 
 line 0: uncaught exception: [Exception... "Failure"  code: 
"-2147467259" nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: 
"http://members.nbci.com/AtheniaG/charming.htm Line: 32"]
Error was suppressed by event handler

The lines that appear to be causing the problem are:

    30: var theLink = self.thePage.document.links[i];

    32: var linkPath = "" + theLink.pathname;

But that's all it gives me, and I'm not even sure if line 32 of that 
Mozilla is talking about is line 32 that I see with my text editor, 
since in my experience it doesn't always match, and the page seems to 
be rewriting itself.  Downloading the page, inserting debugging code, 
and trying to run it locally doesn't work, since that causes errors 
where the script tries to access variables at nbci.com that it 
doesn't have a right to.

Besides downloading a whole bunch of nbci.com files so I can 
duplicate the environment locally, is there any other way of getting 
a better idea of what the problem is?  Is there a way to have Mozilla 
print out the line that's causing the problem, plus maybe a line or 
two of context forwards and back?  Is there anything more to the 
Javascript debugger than the Javascript Console?

Thanks in advance.

-- 
Matthew Cline        | Suppose you were an idiot.  And suppose that
[EMAIL PROTECTED] | you were a member of Congress.  But I repeat
                     | myself.  -- Mark Twain

Reply via email to