From: Brent W. <we...@pa...> - 2001-02-26 19:15:44
|
Read through lib/debug.tcl and look at the "hacks.tml" page in the sample htdocs. Also, I believe the /debug URLs are documented in the book chapter. The two URLs I use frequently are /debug/source?source=pathname.tcl where pathname.tcl is restricted to be in the Httpd library directory or the doc template directory (set with Doc_TemplateLibrary) /debug/pvalue?aname=varnamepattern this dumps out a Tcl variable value, and it supports string match patterns. You can get a whole namespace with, e.g., ncgi::* /debug/pvalue?aname=ncgi::* Hmm - I note that hacks.tml uses /debug/parray, but I'm changing it now to use /debug/pvalue, which is more general. >>>dlb said: > I think that I'm good to go - have 3.3 , but need to upgrade my tcllib > > on another note.. > > is there documentation available on tclhttpd's native debugging features - > specifically its ability to ''reload parts of its implementation dynamically '' ? > Which libraries are accessible for this ? > > thanks again > David > > > > > Peter Farmer wrote: > > > make that a double oops ... > > > > your quite right. 3.2.1 was released before my patch submissions. My > > memory is leaky it seems 8-(. So I guess you need to get the current CVS > > snapshot, or the preliminary 3.3 tarball that Brent mentioned. It does > > have some other cgi fixes so it may be worth your while updating. > > > > dlb wrote : > > > > > actually I'd found a copy of 3.2.1 @ > > > ftp://ftp.scriptics.com/pub/tcl/httpd > > > > > this is what I'm currently running , but it didn't incorporate the patch you'd > > > provided > > > > -- > > Peter Farmer | Custom XML software | Internet Engineering > > Zveno Pty Ltd | Website XML Solutions | Training & Seminars > > http://www.zveno.com/ | Open Source Tools | - XML XSL Tcl > > Pet...@zv... +-----------------------+--------------------- > > Ph. +61 8 92434146 | Mobile 0417 906 851 | Fax +61 2 6242 4099 > > > > _______________________________________________ > > TclHttpd-users mailing list > > Tcl...@li... > > http://lists.sourceforge.net/lists/listinfo/tclhttpd-users > > > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > http://lists.sourceforge.net/lists/listinfo/tclhttpd-users > -- Brent Welch <we...@pa...> |