Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for...
Transcript of Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for...
![Page 1: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/1.jpg)
Debugging JavaScript
CS346
![Page 2: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/2.jpg)
IE Javascript Debugging Aids
• From IE6 on default: no debugging aid for Javascript• Change setting:
– Tools > Internet Options > Advanced tab– uncheck the box “Disable script debugging”– check the box “Display a notification about every script error”– press “Apply” button
• See 6A-8debug.html• http://www.microsoft.com/scripting/debugger/default.htm
![Page 3: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/3.jpg)
IE6
![Page 4: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/4.jpg)
Error Message in previous IE versions
IE6
![Page 5: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/5.jpg)
New IE Error Message
IE6
![Page 6: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/6.jpg)
IE8
![Page 7: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/7.jpg)
Firefox
• Download and install JavaScript Debugger– Venkman - code name for Mozilla's JavaScript
Debugger.• https://addons.mozilla.org/en-US/firefox/addon/216/
![Page 8: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/8.jpg)
Open Tool>Error Console:you will get many warnings. Look for the red errors
![Page 9: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/9.jpg)
Error Console of Firefox
![Page 10: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/10.jpg)
Netscape Javascript Debugger
• Tools > Web Development > JavaScript Console• Keep the JavaScript Console open when using Netscape to
display a document with Javascript• After debugging, use the clear button on the console.
Otherwise the old error message remains and may cause confusion
• Reference:• http://www.mozilla.org/projects/venkman/
![Page 11: Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.](https://reader036.fdocuments.us/reader036/viewer/2022082517/56649dda5503460f94acfdb7/html5/thumbnails/11.jpg)