mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp
branchRCL_3
changeset 3 8b094906a049
parent 0 d0791faffa3f
child 19 0aa8cc770c8a
--- a/mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp	Fri Mar 12 15:46:41 2010 +0200
+++ b/mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp	Mon Mar 15 12:43:12 2010 +0200
@@ -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();
 	    }