capturing script errors

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi,

I'm trying to come up with some sort of automatic tool to test a bunch of
HTML pages, checking that they are free of script (javascript) errors. Not
only runtime errors, but also syntax errors.

For this I'd like to do something similar to what the Microsoft Script
Debugger does: integrate somehow with IE and "listen" for script errors. I
just need to log to a file that an error occurred.

I've been able to accomplish this with FireFox. It was farily easy and I'm
quite happy with the result. But with IE, I'm hitting a wall. The
DWebBrowserEvents2 doesn't seem to contain any useful events, neither I have
been able to find useful tech documentation about how the Microsoft Script
Debugger integrates with IE and captures script errors.

Any help would be greatly appreciated!

.



Relevant Pages

  • Re: capturing script errors
    ... Now, I've seen some pro JavaScript debuggers that cost quite a lot of money, but this one's very reasonable: ... checking that they are free of script errors. ... Debugger does: integrate somehow with IE and "listen" for script errors. ... been able to find useful tech documentation about how the Microsoft Script ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: VBS Editor???
    ... du musst den Debugger nicht irgendwie in die "Gänge" setzen. ... So erfolgen die Aufrufe des Debuggers durch den WSH (entweder durch das ... die Aufrufe //D oder //X für das Script. ... > Ich habe den Quelltext von 'quadrat.vbs' in MSE7.EXE geladen. ...
    (microsoft.public.de.german.scripting.wsh)
  • Re: Testing strategy for Tk application?
    ... your GUI should be nothing but a bunch of widgets that call ... > action invoke focus main ... > and then read a test script from stdin. ... I'll embed a built-in debugger. ...
    (comp.lang.tcl)
  • RE: Problem with LWP::UserAgent
    ... have an xml file that contains a list of URLs. ... hash and pass them as a parameter into the function that does LWP get. ... > assume your script is named net.pl, you can involve the debugger with: ...
    (perl.beginners)
  • Re: IS there a java script debuger that can be used with frontpage and
    ... I wasn't sure, as I have the Script Debugger on my system, but I don't ... If you have FrontPage, you have Microsoft Script ...
    (microsoft.public.frontpage.programming)