Wow, cool.
I use a modified version of "showProps" that I got out of Danny Goodman's
Javascript Bible. It is a great help. Instead of merely doing alerts, it
also writes all of an objects properties to another window.
I keep it in my util directory under the dynapi/js/lib and just include it.
Call it like this:
showProps(myObject) or
showProps(myObject, "myObject") or
showProps(myObject, "myObject", bNoMethods) 'just show props, not methds in
alerts
showProps(myObject, "myObject",bNoMethods, bMakeWindow) 'do alerts, but also
show everything in a window when done.
The alert windows pop up twenty five lines at a time.
I think it also has a trace function, but I don't use it much.
I have the Netscape debugger. Its ok. crashes a lot, but essential when
testing the NS half though.
-bw
"Brandon Myers" <[EMAIL PROTECTED]> wrote:
> I have a debugging program that I wrote in javascript, simply add the
> debug.js file in the front, and the ability to "watch" variables, evaluate
> expressions, call functions, and write to a log within code is available. I
> have been using if for over 2 years now with great success. It's what I
used
> to understand how DynAPI worked, and how the event system was structured.
If
> there is sufficient interest, I can revamp the code, which has some bugs
> that need to be squashed, and release it. I should be in CVS, as I included
> it in the initial import.
>
> ----- Original Message -----
> From: "Alexey Medvedev" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 05, 2000 10:53 AM
> Subject: [Dynapi-Dev] JS debuger
>
>
> >
> > > I wonder if there is a good javascript debugger that will run on my
> >
> > I thinks there is different debuggers for Netscape and for
> > IE (latest you have tried to install).
> >
> > For Netscape - look at http://developer.netscape.com for
> > "Visual JavaScript". It is written in Java - and run as an applet in
> > same Netscpae. But asks permissions for "Universal.debug" or something
> > and for reading local files from JS/Java.
> >
> > Malx
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
showprops.js