JavaScript Debugging

June 4, 2005 | Uncategorized | 0 Comments

Mozilla’s JS debugger is a god-send for JavaScript development, but
everything still needs to work in IE and debugging in that environment
can be rough. When I started doing JavaScript, I would use alert(‘current var=’ + myVar);
all over the place to figure out what was happening in the code. Later,
I started embedding a TEXTAREA in and writing text to that box. But I
wanted a way to debug without messing up the exiting page and still
work with IE. The solution I’ve come up with is to launch a new window
and dynamically create a TEXTAREA in that window that I could write to
(just like Mozilla’s debugger)

Usage

JavaScript Debugger example

Results

JavaScript Debugger example

Download JS Debugger

Leave a Reply

Hi, I'm John Dyer. In my day job, I build websites and create online seminary software for a seminary in Dallas. I also like to release open source tools including a pretty popular HTML5 video player and build tools that help people find best bible commentaries and do bible study. And just for fun, I also wrote a book on the theology of technology and media.

Fork me on GitHub

Social Widgets powered by AB-WebLog.com.