Index: trunk/BNC/bncpppclient.cpp
===================================================================
--- trunk/BNC/bncpppclient.cpp	(revision 2548)
+++ trunk/BNC/bncpppclient.cpp	(revision 2549)
@@ -41,4 +41,5 @@
 #include <newmatio.h>
 #include <iomanip>
+#include <sstream>
 
 #include "bncpppclient.h"
@@ -54,4 +55,6 @@
 
 using namespace std;
+
+////#define DEBUG_OUTPUT
 
 // Constructor
@@ -126,4 +129,11 @@
   t_obsInternal* obs = &(pp->_o);
 
+#ifdef DEBUG_OUTPUT
+  ostringstream str;
+  str.setf(ios::fixed);
+  str << "bncPPPclient::putNewObs: " << obs->satSys << obs->satNum;
+  emit newMessage(QByteArray(str.str().c_str()), false);
+#endif
+
   if (obs->satSys != 'G' && !_useGlonass) {
     return;
@@ -249,4 +259,11 @@
   QString prn = QString("G%1").arg(gpseph.satellite, 2, 10, QChar('0'));
 
+#ifdef DEBUG_OUTPUT
+  ostringstream str;
+  str.setf(ios::fixed);
+  str << "bncPPPclient::slotNewEphGPS: " << prn.toAscii().data();
+  emit newMessage(QByteArray(str.str().c_str()), false);
+#endif
+
   if (_eph.contains(prn)) {
     t_ephGPS* ee = static_cast<t_ephGPS*>(_eph.value(prn));
@@ -270,4 +287,11 @@
 
   QString prn = QString("R%1").arg(gloeph.almanac_number, 2, 10, QChar('0'));
+
+#ifdef DEBUG_OUTPUT
+  ostringstream str;
+  str.setf(ios::fixed);
+  str << "bncPPPclient::slotNewEphGlonass: " << prn.toAscii().data();
+  emit newMessage(QByteArray(str.str().c_str()), false);
+#endif
 
   if (_eph.contains(prn)) {
@@ -296,4 +320,10 @@
     return;
   }
+
+#ifdef DEBUG_OUTPUT
+  ostringstream str;
+  str.setf(ios::fixed);
+  str << "bncPPPclient::slotNewCorrections: ";
+#endif
 
   // Remove All Corrections
@@ -332,4 +362,8 @@
 
       cc->tt.set(GPSweek, GPSweeks);
+
+#ifdef DEBUG_OUTPUT
+      str << prn.toAscii().data() << " ";
+#endif
 
       if      ( messageType == COTYPE_GPSCOMBINED    || 
@@ -407,4 +441,8 @@
   }
 
+#ifdef DEBUG_OUTPUT
+  emit newMessage(QByteArray(str.str().c_str()), false);
+#endif
+
   QMutableMapIterator<QString, t_corr*> im(_corr);
   while (im.hasNext()) {
