diff -r aabe5387f5ce -r 1b39655331a3 mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp --- a/mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp Fri Mar 19 09:40:39 2010 +0200 +++ b/mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp Fri Apr 16 15:51:48 2010 +0300 @@ -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(); }