[GRASS-dev] [GRASS-SVN] r53518 - grass/trunk/lib/temporal/lib
Martin Landa
landa.martin at gmail.com
Sun Oct 21 09:18:45 PDT 2012
Hi,
2012/10/21 Markus Neteler <neteler at osgeo.org>:
>> Either use debug '1' or change G_debug() to G_message().
>
> Then G_debug() doesn't make much sense to me.
why, we use different debug levels, 1-5.
> [neteler at north grass64]$ grep 'G_debug(0' */*/*.c
> vector/v.perturb/myrng.c: G_debug(0,"%g",numbers[i]);
> [neteler at north grass64]$ grep 'G_debug(0' */*/*/*.c
> lib/vector/Vlib/dgraph.c: G_debug(0, "exact=%d orig=%d",
> res, res2);
> vector/lidar/v.lidar.growing/ConvexHull.c: G_debug(0, "run-time error...");
> vector/lidar/v.lidar.growing/ConvexHull.c: G_debug(0, "%s", error_text);
> vector/v.lrs/v.lrs.label/main.c: G_debug(0, " line = %d / %d",
> line, nlines);
> vector/v.lrs/v.lrs.label/main.c: G_debug(0, " %d reference
> segments selected", nrseg);
>
> [neteler at north grass70]$ grep 'G_debug(0' */*/*.c
> display/d.vect/label.c: G_debug(0, "ncentroids (ogr) = %d", nlines);
> lib/gis/token.c: G_debug(0, "%d=[%s]", i, tokens[i]);
> raster3d/r3.in.ascii/main.c: G_debug(0,
> "invalid value at col=%d row=%d depth=%d last_value=[%s]",
> vector/v.lidar.growing/ConvexHull.c: G_debug(0, "run-time error...");
> vector/v.lidar.growing/ConvexHull.c: G_debug(0, "%s", error_text);
> vector/v.perturb/myrng.c: G_debug(0,"%g",numbers[i]);
seems to be bogus for me. Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list