Wojciech Kocjan <[EMAIL PROTECTED]> writes:
> Today I've been working on debugging dtcl with debugger from TclPro (I'm
> using free TclPro 1.4).
Cool - does it seem pretty useful?
> I've been testing stuff with tclsh, but this should work with dtcl as
> well:
Would you mind editing this information into a 'debugging.txt', that I
will add in CVS?
> But I suppose debugger support needs to be implemented in mod_dtcl itself
> as an option. It would require putting something like this:
> -- CUT HERE --
> debugger_init %debughost% %debugport%
> namespace eval request {
> debugger_eval {
> -- CUT HERE --
> instead of 'namespace eval request {'
Looks easy enough to #ifdef.
> it could be done with an option in httpd.conf - it would supply
> directory to prodebug.tcl, host and port of remote debugger.
Hrm... I would prefer to #ifdef it.
> if this config option is set then:
> 1. prodebug.tcl should be sourced during GlboalInit (preferably by
> mod_dtcl, not user)
> 2. the above should be inserted if 'toplevel' and another '}' at the end.
> Since I don't know much about Apache API, I'd rather not to write it
> myself.
Well it's just a matter of replacing the two pieces of code, correct?
Or are you saying something else needs to be done?
Thanks,
--
David N. Welton
Personal: http://www.efn.org/~davidw/
Free Software: http://people.debian.org/~davidw/
Apache Tcl: http://tcl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]