From: Bill W. <bil...@us...> - 2000-12-05 16:41:27
|
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, i= t 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 i= t. 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 a= lso 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" <bnd...@ho...> 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, evalu= ate > expressions, call functions, and write to a log within code is availabl= e. 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 structure= d. If > there is sufficient interest, I can revamp the code, which has some bug= s > that need to be squashed, and release it. I should be in CVS, as I incl= uded > it in the initial import. > = > ----- Original Message ----- > From: "Alexey Medvedev" <ma...@ca...> > To: <dyn...@li...> > 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 somethi= ng > > and for reading local files from JS/Java. > > > > Malx > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > = > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 |