From: Richard B. <ma...@ri...> - 2001-01-21 23:42:10
|
Hi, This was another amazing job, both of you, I'll add it to every example on my site with the next release, and have it called from a link instead of my DynAPIDiagnose. A few points: you probably know dumping the secondary values from the hyperlinks doesn't work yet. Is it possible to get a clickable list of the objects on the page by the name they were defined by, like this: Available objects on this page: * MyLayer *MyChildLayer * SkinWindow1 *myPushPanel1 *myLoadPanel1 etc. oh, and you could add printing, and... Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) ----- Original Message ----- From: "Pascal Bestebroer" <pa...@dy...> To: "Dev" <dyn...@li...> Sent: Sunday, January 21, 2001 2:58 PM Subject: [Dynapi-Dev] Oversight > Played "abit" with Martin Ström 's console code, and got some nice ideas on > how to enhance it. > See the attached result. > > Unzip this package into a sub directory of your DynAPI code (eg. into the > src/ directory), and add the following two lines to your code for some great > debuggin tools: > > DynAPI.include('oversight.js','../src/oversight') > > and then in the DynAPI.onLoad, add the first line: > > Oversight.run('../src/oversight') > > where the '../src/oversight' is the path of your Oversight root folder. > > I haven't done much on errorhandling yet so be carefull, but currently you > have the > following tools: > > * Add watch > Adds a property to the watcher.. the watcher will then display the value > of that property. > For example, try adding a watch for myLayer.x and make the layer > dragable.. > > * Delete watch > Deletes the property or variable from the watcher list.. no real need for > this, every property > will have a DEL link in the watcher window, to remove it.. saves typing > > * Dump object > Dumps the specified object and it's properties/methods.. also creating > dynamic hyperlinks for > all child objects. > > * Show value > Displays the value of the specified variable or property (not watching, > just printin it once) > > * Execute code > Will execute any code you type in it.. Basically this allows you to create > DynLayer, move existing > DynLayers/widgets, etc,etc,etc. > > I want to enhance the Execute code, so that it displays a memo field so in > which you can type more lines > at once.. making it a runtime editor. > > I think that when we create more of these types of tools, that the > DynBuilder as described by Henrik is actually possible as a Webapplication. > > I've only tested this stuff on IE5 and NS4.. and works under both browsers > perfectly. > Let me know of any ideas, comments, flames, rock throwing, etc.. > > cya, > > Pascal Bestebroer > pa...@dy... > http://www.dynamic-core.net > |