qthighway/xqserviceipc/xqserviceipc/xqserviceipc_apasymbian.cpp
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 24 9d760f716ca8
--- a/qthighway/xqserviceipc/xqserviceipc/xqserviceipc_apasymbian.cpp	Fri Apr 16 15:51:22 2010 +0300
+++ b/qthighway/xqserviceipc/xqserviceipc/xqserviceipc_apasymbian.cpp	Mon May 03 13:18:40 2010 +0300
@@ -198,7 +198,7 @@
         iDataSize = dataSize;
     }
     
-    XQSERVICE_DEBUG_PRINT("CApaSymbianIPC::sendSync DONE");
+    XQSERVICE_DEBUG_PRINT("CApaSymbianIPC::sendSync status=%s", err);
     
     return (err == KErrNone);
 }
@@ -212,7 +212,9 @@
     // this is sync operation
     XQSERVICE_DEBUG_PRINT("CApaSymbianIPC::readAll");
     QByteArray rtn;
-    TRAPD( err, rtn = doReadAllL() );
+    TInt err(KErrNone);
+    TRAP( err, rtn = doReadAllL() );
+    XQSERVICE_DEBUG_PRINT("CApaSymbianIPC::readAll status=%d",err);
     if ( err )
         {
         emitError(err);
@@ -292,11 +294,14 @@
     XQSERVICE_DEBUG_PRINT("CApaSymbianIPC::readAll");
 
 	// this is async operation
-    TRAPD(err, doReadAllL(aArray ));
+    TInt err(KErrNone);
+    TRAP(err, doReadAllL(aArray ));
+    XQSERVICE_DEBUG_PRINT("CApaSymbianIPC::readAll status=%d",err);
     if (err)
         {
         emitError(err);
         }
+    
 }
 
 /*!
@@ -450,9 +455,11 @@
     XQSERVICE_DEBUG_PRINT("CApaSymbianIPC::StartExitMonitor");
     if (iServerExitMonitor == NULL)
         {
-        TRAPD( err, iServerExitMonitor = CApaServerAppExitMonitor::NewL(iSession,
+        TInt err(KErrNone);
+        TRAP( err, iServerExitMonitor = CApaServerAppExitMonitor::NewL(iSession,
                                                                         *this,
                                                                         CActive::EPriorityStandard ));    
+        XQSERVICE_DEBUG_PRINT("CApaSymbianIPC::StartExitMonitor status=%d",err);
         }
 }