I am using S60 3rd MR, Microsoft Visual Studio .NET 2003 and Carbide.vs 2.0.1.
Most of the times the EPOC emulator (winscw udeb) hangs, when I am trying to start to debug my application on the emulator. The crash happens while the emulator loads the system libraries before I am able to start my application on the emulator.
Sometimes the emulator starts OK in the debug mode and I am able to do the actual debugging.
If the crash happens, then I have found to be wise to completely exit from Visual Studio and start it again. (Visual Studio does not hang, so I click "stop debugging", which shuts down the emulator, and then I exit from the Visual Studio and try again.)
Has anybody experienced the same? Any suggestions, how to get the emulator more reliable during startup?
(I have a Windows XP Pro SP2 with English US regional settings. The setup should be compatible with the SDK specs, but the computer is old and it has lots of stuff installed. However, I had more troubles with a clean brand new computer and CodeWarrior development environment.)
The following are some extracts of the last lines of epocwind.out, when the emulator hangup has occurred. The place, where the crash happens, seems to be random. I don't see any similarity in the different epocwind.out listings.
30.225 FontProvider: Category=1, TextPane Height=14; mapped request=12; typeface=Series 60 Sans SemiBold, actual range=14(a,d,exa,exd=10 2 1 1)
33.515 Starter:Start Exe: z:\sys\bin\systemams.exe -boot
33.515 Starter:Executable path: z:\sys\bin\systemams.exe
33.515 Starter:Arguments: -boot
33.565 Starter:StartExeL: RProcess::Create returns: -1
41.670 Thread FLOGSVR.EXE::Main created @ 0xa11808 - Win32 Thread ID 0x1414
41.675 SIPProfile: Process created
41.690 SIPProfile: SecureBackup, subscribing backup event
41.690 SIPProfile: SecureBackup, subscribing backup event, complete
42.020 Thread SipServer.EXE::Main created @ 0xa13d8c - Win32 Thread ID 0xe9c
Any suggestions or comments greatly appreciated.
151.780 CDirWatcher::RunL ->
151.780 CDirWatcher::RunL <-
151.805 RDRMRightsClient::StartServer(): 0
151.805 RDRMRightsClient::Connect(): Create a new session
151.830 CDRMRightsServer::NewSessionL: Creating a new session
151.830 RDRMRightsClient::Connect(): Result: 0
151.835 CProcWatcher::CProcWatcher ->
151.835 CProcWatcher::CProcWatcher <-
151.835 CProcWatcher::ConstructL <-
151.835 CProcWatcher::ConstructL ->
151.835 CProcWatcher::StartWatching ->
151.835 CProcWatcher::StartWatching <-
152.880 content size: 12.0000x12.0000
152.890 content size: 12.0000x12.0000
152.895 content size: 12.0000x12.0000
152.950 FontProvider: Category=3, TextPane Height=24; mapped request=20; typeface=Series 60 Sans TitleSmBd, actual range=21(a,d,exa,exd=15 5 3 -2)
152.960 AKNSKINS: (Error) "CAknsAppSkinInstance::GetLayoutBitmap Srv update failed -1"
154.795 Constructing HCTL Bcsp