Mike Gratton <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> S�ren Kuklau wrote:
> 
> > 
> > For those who don't know what DOM is, the DOM inspector is useless. It's
> > rather a tool for html and javascript authors.
> 
> 
> And a damm fine one at that. The DOM Inspector, Venkman (the JS 
> debugger) and "dump()" make Moz an insanely great web development 
> platform (apologies to Steve Jobs).
> 

I'm sorry, but I just installed the DOM inspector, *and* the debugger,
and I can't see any use for it at all.  What I wanted was a quick and
easy way to find elements on the page using Javascript.

It's always a challenge deciding if and when you need to use
window.document.layers[0].forms[0].elements[0]... etc., and I wanted a
quick way to see what the DOM looked like.  Not from an HTML
perspective, which is nothing more than a trimmed version of
well-indented code, but the Javascript Object version, which doesn't
seem to offer any help at all in the DOM Inspector.

As for the debugger, if you can't add a watch an object and expand its
properties, what good is the debugger at all?  Sure, I can throw in a
break point or see where the code is throwing an exception, but how
the heck can I *debug* that error if I can't see anything about the
current state of the page?

I feel like I'm missing some nugget of excellence hidden in these
products, but I simply can't find any useful bits at all.

Jon Krivitzky

Reply via email to