I still don’t know why I can’t get any panic codes when there is a panic in the S60 2nd Edition emulator. I have tried all the things that others have suggested, but I still get nothing.
My computer is running Windows XP Pro with 512MB RAM. To test the problem in the most controlled manner possible, I modified the S60 example, HelloWorldBasic, by adding this to the ConstructL for the document class:
_LIT(KPanicName, "FakePan");
User::Panic(KPanicName,5);
This way the HelloWorldBasic program will generate a panic very early in the launch. The emulator I run is the one that gets installed with the 2nd Edition SDK:
\Epoc32\release\wins\udeb\epoc.exe 32832 bytes 8/27/2003
The emulator is the blue vertical rectangle that looks like a phone. I scroll down to HelloWorld and run it. The epoc.exe program immediately produces exception that generates the usual Windows XP message box, asking if I want to send a crash report to Microsoft. Afterward the EPOCWIND.OUT is 22K in size and starts and ends like this:
Can't load ELOCL.00
Can't load EKDATA.00
Starter:Server startingStarterServer::NewL()StarterServer::ConstructL()FeatMgr: InitializeLibL() SharedData: Assign to 0x10005a2b by StarterServerSharedData: total allocated memory: 504FeatMgr: TLS increase, clients now(1) SharedData: Get request with key "1057" by StarterServerStarter:Connecting File Server...Starter:Connected to File ServerStarter:Connect SD Server...Starter:Connected to SD serverStarter:Assigning to KSysTargetUIDSharedData: Assign to 0x10005943 (temp) by StarterServerSharedData: total allocated memory: 644Starter:ConnectMandatoryResources
<…lots more deleted for brevity…>
: 7496SharedData: Get request with key "ColPal" by MenuFeatMgr: InitializeLibL() FeatMgr: TLS increase, clients now(2) SharedData: Assign to 0x100058ec by MenuSharedData: total allocated memory: 7496SharedData: Get request with key "InputLang" by MenuAknLayoutUtils: parent rect Width smaller than required 0 >= 20AknLayoutUtils: parent rect Height smaller than required 0 >= 144AknLayoutUtils: parent rect Height smaller than required 141 >= 144AknLayoutUtils: parent rect Height smaller than required 141 >= 144Starter:EnvChange 4FeatMgr: InitializeLibL() SharedData: Assign to 0x10005a2b by HELLOWORLDBASICSharedData: total allocated memory: 7668FeatMgr: TLS increase, clients now(1) SharedData: Assign to 0x100058ec by EikAppUiServerSharedData: total allocated memory: 7748SharedData: Get request with key "ColPal" by EikAppUiServer
Can anyone please try to duplicate this test and see if you can get a panic code?
Robert Scott
Ypsilanti, Michigan



