So far this is the best I can come up with. Use the following command to redefine a Tcl proc to do remote debugging. [JAC] Ideally I'd like to be able to instrument all the code so that I can easily set breakpoints and step through better. The problem lies in the way AOLserver handles its threads. There is a single master thread that does the original sourcing of all your code. Then each connection thread introspects the master thread for its code. So the connection threads never call the '''source''' command like the master thread did. This prevents [TDK] from instrumenting in a nice way. The simple procedure below will at least let you debug a single page at a time when its turned on. ---- # TclPro Debugging # proc dproc { names args_list body } { proc $names $args_list [subst -nocommands { debugger_init return [debugger_eval { $body }] }] } ----