views:

51

answers:

1

Hi All,

How do I view a Javascript object in IE8's Developer Tools? In WebKit and Firebug, I can fire a command at the console which returns an object and it'll show me a tree of the object that I can navigate. In Internet Explorer, all I get is:

>>getSelection();
{...}

Is there a way to get a similar tree view in IE8's Developer Tools that I'm missing, or should I try and use something else (Firebug Lite maybe?) instead?

A: 

near the console you can see standart watcher dblclick on empty field and just type your variable

Falcon
Do you mean the Watch tab above the console on the right hand side of the window? I can't figure out how to add stuff to that...
Aaron B. Russell
Pekka linked to http://stackoverflow.com/questions/1956384/how-do-i-dump-javascript-vars-in-ie8 above, and that shows that your solution works, I just need to click "Start Debugger", and then type "debugger" into the console first. Thanks!
Aaron B. Russell
Yes you're right. i fogot about "start debugger"
Falcon