Debugging JavaScript

Russ Ferguson, Christian Heilmann · Apress eBooks · 2013

In this appendix, I will introduce you to some tricks and tools to debug your JavaScript code. It is very important to get acquainted with debugging tools, because programming consists to a large extent of trying to find out what went wrong a particular time. Some browsers help you with this problem; others make it harder by having their debugging tools hidden away or by returning cryptic error messages that confuse more than they help. Some of my favorites include philosophical works like “Undefined is not defined” or the Microsoft Internet Explorer (IE) standard “Object doesn’t support this property or method.”

Read the paper · More papers on PaperTik