Sorry, I don't have Firebug installed in this computer. If I recall
correctly, there is to ways to 'inspect' or see the value of a
variable:

a) Executing 'console.dir(window.parent)'. The variable content will
be printed in the Console panel
b) Adding 'window.parent' as a new Watch expression in the Script panel.

My main point is: Firebug doesn't need to provide a special way to
inspect global variables or iframe variables, as you can view their
values using 'window', 'window.parent', etc.

--
S.Cinos
JavaScript Developer at Tuenti.com



2011/1/7 Woody <[email protected]>:
> On Jan 7, 10:54 am, Sergio Cinos <[email protected]> wrote:
>> Global variables: inspect window
>> Variables from an iframe: inspect <iframeElement>.documentWindow
>> Variables from your parent frame: inspect window.parent
>
> I don't understand what you mean. There is no "inspect" panel, and
> typing "inspect window" in as a console command line gives an error. I
> can find nothing in the documentation about "inspect".
>
> If you can explain more fully, I can add it to the documentation.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Firebug" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/firebug?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to