From: Kaj-Michael Lang Date: Tue, 5 Aug 2008 14:18:36 +0000 (+0300) Subject: Path: Add some more debug output X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f7a824b08761ef50c23115fc8cf8e74426a4a61;p=mapper Path: Add some more debug output --- diff --git a/libs/libgtkmap/path.c b/libs/libgtkmap/path.c index 7148d9e..ad96d82 100644 --- a/libs/libgtkmap/path.c +++ b/libs/libgtkmap/path.c @@ -379,7 +379,8 @@ if (abs((gint)unitx-path->tail->unitx) > path->sensitivity || abs((gint)unity-pa path->tspeed+=speed; path->avgspeed=(path->points>0) ? path->tspeed/path->points : 0.0; path->points++; - g_debug("TRACK: %f %f (%d)", path->length, path->avgspeed, path->points); + + g_debug("TRACK(%f, %f): LEN: %f AVG: %f (%d)", lat, lon, path->length, path->avgspeed, path->points); g_signal_emit(G_OBJECT(path), signals[NEW_POINT], 0, NULL); return TRUE;