slivka.com > Code > Web > Internet Explorer tips for JavaScript
1. Turn on scripting error messages and the Script Debugger
2. Using the Script Debugger

1. Turn on scripting error messages and the Script Debugger

  1. In Internet Explorer, use the menu command "Tools.Internet Options", click on the "Advanced" tab, and you will see the dialog box shown below.
  2. Clear the check box "Disable script debugging".
  3. Set the check box "Display a notification about every script error".
  4. NOTE: You will want to undo these changes before doing general web surfing, as you may otherwise may be very distracted by bugs on some of the web sites you visit!


2. Using Script Debugger

  1. Use the menu command "View.Command Window" to open the command window so you can display the values of variables. Just type a variable name (or expression) in this window and press Enter.
  2. The yellow highlight shows the line that *will* be executed when you press the *F8* key.
  3. Use *F9* to set/clear a "breakpoint". When the JavaScript interpreter encounters a breakpoint it will stop the script and give control to the Script Debugger.
  4. Use the "debugger" JavaScript statement to break into the Script Debugger automatically.


Last updated Tuesday, November 27th, 2001.
© 1997-2024 slivka.com. All rights reserved.

Banderooge.com | BenSlivka.com | BenSlivka.net | GarfieldHSF.org | nu1982.org | slivka.org