2.4.1 Types of Errors
Load or Compile Time
Logical errors are harder to find because they imply that you didn't anticipate an event or that you inadvertently misused an operator, but your syntax was okay. For example, if you are checking to see if two expressions are equal, you should use the == equality operator, not the = assignment operator.
2.4.2 Debugging Tools
Figure 2.7. Netscape 7 console window.
Debugging in Explorer
Figure 2.9. To enable debugging in IE, go to Tools > Internet Options > Advanced.
Figure 2.10. In Internet Explorer, look in left-hand bottom corner for a triangle.
Also see http://msdn.microsoft.com/scripting/ to find the Microsoft Script Debugger (MSSD), a free debugging tool that works with IE 3.01 and above (see Figure 2.11). You can write and debug your scripts (called JScript by Microsoft) using this debugger.
Figure 2.11. Web site for the Microsoft scripting tools.