A typical error handling practice is to wrap a piece of suspect code in a "try" block, and present a warm and fuzzy message in…
JavaScript Assertions are possible
Assertions are a great development-time debugging tool. They allow us to raise a red flag whenever a condition occurs that should never occur. This is,…
Keeping on top of website errors
One of my favorite books depicts a southern farmer who boasts how his animals do all the work (maintaining the grass by eating it, etc,…
Testing and Debugging the easy way: The debug flag
Setting and accomodating for a debug flag is one of the easiest ways to turn your script or application into "debug mode". One such method…