Re: Best way to inspect the contents of a big variable?

"Paul Rempel" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Another way i've found to look at large variable is to stop the code at a
point where the data you want is in a local variable.  Then look at in in
the "local variables" window, and try to modify it's value.  Then you can
select all the data from the dialog box that comes up and paste it somewhere
useful.

"William Edney" <[email protected]> wrote in message
news:[email protected]...
> Rob -
>
> Have more faith! :-). I regularly dump 100K+ bytes in the Interactive
> Session window.
>
> Cheers,
>
> - Bill
>
> Robert Ginda wrote:
>
> > If you really wanted to dump the contents of that variable to the
> > Interactive Session window, you could just increase the maxStringLength
> > preference with the /pref command.  It's 4000 by default.  To change it
> > to 75000, you'd type /pref maxStringLength 75000.  I don't know how long
> > it'll take to render that many characters in the Interactive Session
> > view though, so I wouldn't recommend it.
> >
> >
> > Rob.
> >
> >
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.