slivka.com
About
Books
Code
Family
Giving
House
Links
NU
Tips
Trips
WebCam
Wine
Wissner
Search slivka.com
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
In Internet Explorer, use the menu command "Tools.Internet Options", click on the "Advanced" tab, and you will see the dialog box shown below.
Clear the check box "Disable script debugging".
Set the check box "Display a notification about every script error".
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
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.
The yellow highlight shows the line that *will* be executed when you press the *F8* key.
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.
Use the "debugger" JavaScript statement to break into the Script Debugger automatically.
Last updated Tuesday, November 27
th
, 2001.
© 1997-2024
slivka.com
. All rights reserved.
Banderooge.com
|
BenSlivka.com
|
BenSlivka.net
|
GarfieldHSF.org
|
nu1982.org
|
slivka.org