tutey wrote:

> I tried to debug a module running in tcl/tk window, following the 
> instructions in doc/debugging.txt. It reads:
> 
> > To debug  TCL code, run (example):
> >
> > GRASS:~> g.gisenv set="DEBUG=1"
> > GRASS:~> d.text.freetype > dtf_tcl.txt

The comments in doc/debugging.txt are misleading. The above won't help
you debug Tcl code, only code which uses C (including hybrid C+Tcl
code, e.g. NVIZ, v.digit).

If you want to debug pure Tcl code, you typically need to add "trace"
commands to the code in question.

-- 
Glynn Clements <[EMAIL PROTECTED]>

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to