Presentation is loading. Please wait.

Presentation is loading. Please wait.

Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.

Similar presentations


Presentation on theme: "Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options."— Presentation transcript:

1 Debugging JavaScript CS346

2 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

3 IE6

4 Error Message in previous IE versions IE6

5 New IE Error Message IE6

6 IE8

7 Firefox Download and install JavaScript Debugger – Venkman - code name for Mozilla's JavaScript Debugger. https://addons.mozilla.org/en-US/firefox/addon/216/

8 Open Tool>Error Console: you will get many warnings. Look for the red errors

9 Error Console of Firefox

10 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/

11


Download ppt "Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options."

Similar presentations


Ads by Google