March 24, 2005
Ghostbusters, Inspector Gadget & Firefox
I recently started using the Venkman JavaScript Debugger for Firefox (and other Mozilla based browsers), named after Peter Venkman from the 1984 movie Ghostbusters.
Well having used javascript alert boxes and such like for debugging for years, I have to say this thing is absolutely brilliant.
Especially the ability to watch variable values change as the code executes. Extremely useful for tracking down those niggling coding logic errors—the ones that execute fine but just don't work!
Also of invaluable help is Firefox's DOM Inspector. I had looked at this when I first installed Firefox, but didn't realise it would update the tree to reflect changes made with DHTML—oops! The current project I'm working on creates large amounts of elements dynamically, so this is great for tracking down dodgy object creation/nesting.
However it doesn't help when the problem is actually a bug in Firefox itself (1.0.1), arrrgggh. In this case moving a DIV to be the first child node, made the second child [it's sibling, also a DIV] lose its margins. The problem doesn't occur in the latest Firefox nightly or Internet Explorer, frustrating...
Debugging In Internet Explorer
Having tried the Microsoft Script Debugger and found it to be a flying piece of sh*t, I discovered the link below describing the MS Script Editor; a very capable javascript debugger for Internet Explorer. Very useful when you're debugging a msie specific code fork, especially since IE's default error messages are most completely useless...
Posted by Matt at March 24, 2005 3:22 PM
Fraggle Chitter Chatter
Posted by: Matt at June 10, 2006 11:16 AM
Have Your Say
The Great Hall
Historial Postcards
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
Ask Marjorie
UPDATE: For Firefox I'm now using FireBug instead of Venkman... http://www.joehewitt.com/software/firebug/