
these hacky little tools are for easier debugging of
tcl/tk code.

 calling Wisql wisql.tlib ucosyb.tlib

will try to build lists of what proc is called from
where for each of the tlibs you specify.  its output
in this case is a file
 
 Wisql.callist

You then feed this file into calltree, along with the
name of the proc you want to trace.  calltree will
produce an output file suitable for displaying with
xtree.

Say I want to know about calls to setMsg or from
setMsg.  I am curious to know all the places where
I write on the message area.

 calltree Wisql setMsg

produces two files

	Wisql_setMsg.calls
	Wisql_setMsg.called

and

 xtree -iformat number < Wisql_setMsg.called

will view one of them.

If you don't like typing all that, the little tcl proc

	cview <filename>

will do the same.

This can be very useful when trying to figure all the
possible ways you could have got to statement X, or
all the procs which could be fired off from proc Y.

de
