[GRASS-dev] Re: [GRASS-user] g.gisenv DEBUG broken!

Hamish hamish_nospam at yahoo.com
Wed Oct 11 02:57:54 EDT 2006


> > > .... no debug message, should be(?)
..
> > odd, same here.
> > 
> > g.gisenv set="DEBUG=5"
> > echo "1|1" | v.in.ascii out=foo
> > 
> > no debug messages!
..
> > It seems that  lstr = G__getenv( "DEBUG" );  in lib/gis/debug.c
> > fails for some reason (lstr gets set to NULL).
..
> we discussed this with soeren (huhabla) on irc while ago with the
> result, that if the module is runing in gdb environment, debuging
> works
> 
> i do not know why, but it was so :-/


it works for this:
g.mremove foo*

and this:
v.db.addtable rand_pts

but not for this:
echo "1|1" | v.in.ascii out=foo

?
Hamish




More information about the grass-dev mailing list