diff -r 5d03bc08d59c -r 01a6848ebfd7 windowing/windowserver/wins_switching/wservswitch.cpp --- a/windowing/windowserver/wins_switching/wservswitch.cpp Tue Feb 02 01:47:50 2010 +0200 +++ b/windowing/windowserver/wins_switching/wservswitch.cpp Fri Apr 16 16:21:04 2010 +0300 @@ -52,7 +52,11 @@ // try to launch it const TPtrC exeName = nga ? KWservSwitchNga() : KWservSwitchNonNga(); + +#ifdef _DEBUG RDebug::Print(_L("%S: Starting \"%S\" \"%S\""), &KProcessName, &exeName, &argPtr); +#endif + RProcess server; TInt err = server.Create(exeName, argPtr, EOwnerThread); delete arg; @@ -63,7 +67,9 @@ } // wait for server to start +#ifdef _DEBUG RDebug::Print(_L("%S: waiting on process ..."), &KProcessName); +#endif TRequestStatus stat; server.Rendezvous(stat); @@ -87,7 +93,9 @@ // propagate error to SysStart if (error) { +#ifdef _DEBUG RDebug::Print(_L("%S: Failed with error %i"), &KProcessName, error); +#endif } RProcess::Rendezvous(error); return error;