mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp
branchRCL_3
changeset 20 4a793f564d72
parent 19 0aa8cc770c8a
--- a/mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp	Tue Aug 31 16:03:15 2010 +0300
+++ b/mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp	Wed Sep 01 12:20:56 2010 +0100
@@ -117,6 +117,15 @@
 		// Wait for the server start up to complete.
     	User::WaitForRequest(status);
     	ret = (server.ExitType() == EExitPanic) ? KErrGeneral : status.Int();
+#ifdef __WINSCW__
+    	if ( server.ExitType() == EExitPanic )
+    	    {
+            TExitCategoryName exitCategory = server.ExitCategory();
+            TInt exitReason = server.ExitReason();
+            RDebug::Print( _L("The exit category is \"%S\""), &exitCategory );
+            RDebug::Print( _L("The exit Reason is %d"), exitReason );
+    	    }
+#endif //__WINSCW__
     	server.Close();
 	    }