logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Jim Fricker
    • Posted on Tue 24 Feb 2004

    An alternative to inserting "debugger;" into your code, to stop it before the error occurs, is to use the IE menu option View/Script Debugger/Open and use the script debugger (or Script Editor) to set a break point in the code using F9.

    If the code you wish to debug runs as soon as the page is loaded then open a browser window, use the menu option View/Script Debugger/Break at Next Statement and then navigate to the page you wish to debug either by using the next or back buttons or using a favorite or typing in the URL or using a simple (non javascript) hypertext link.

    Jim

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: