From 9f7a824b08761ef50c23115fc8cf8e74426a4a61 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Tue, 5 Aug 2008 17:18:36 +0300 Subject: [PATCH] Path: Add some more debug output --- libs/libgtkmap/path.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5