Jon Krivitzky wrote:
 >
 > I wanted a
 > quick way to see [snip] the Javascript Object version, which doesn't
 > seem to offer any help at all in the DOM Inspector.


It is possible to inspect the JS DOM objects using the Inspector, it's
just not immediately obvious. Look at the two top panes - the Document
pane on the left and the Object pane of the right. To the immediate left
of the titles of those panes (which always start with "Document - ..."
and "Object - ..." there are little drop-down menu anchors. Clicking on
them and selecting "Javascript Object" from the drop down menu will
display the "document" variable in the Document pane and the currently
selected element's DOM object in the Object pane.

Also, in the Inspector, do a lot of right-clicking, there's a lot of
useful functionality hidden in context menus.

 > As for the debugger, if you can't add a watch an object and expand its
 > properties, what good is the debugger at all?

Well, I've never had a real need to watch an object, and I generally 
only do OO programming (JS being the usual exception), so I can't do 
much but shrug here. Breakpoints, exception tracing and being able to 
control execution are what I mainly use Venkman for, and that's mostly 
what it does.

Getting values of properties out of it can be a bit random, but hey, 
you've got the Venkman eval command and dump(), which work well enough 
for me.

 > 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.

Maybe it's just the fact that Venkman has only been in for the last two 
releases (IIRC) and the Inspector has only been in for one. They're both 
pretty new and may not be a high priority for those who are maintaining 
them if the functionality is alreay sufficient. But hey, the source is 
there, there's no reason why you couldn't help inprove it.

Mike.

-- 
Mike Gratton <[EMAIL PROTECTED]>
"Every motive escalate."
    Blatant self-promotion: <http://web.vee.net/>



Reply via email to