Display the extended panic code in Emulator or Device

in
Keywords:

S60 v1 and v2

Since SDK v1.2, the S60 emulator only displays "Program Closed" when an application panics. To have the panic details like in S60 SDK v1.0, you just have to create an empty file called ErrRd in Epoc32\Wins\c\system\Bootdata (or Epoc32\Winscw\c\system\Bootdata if you are using Codewarrior).

This also applies to the target devices (at least my 3650): create the same empty file in C:\system\Bootdata.

If you don't know how to create such file, you can simply download and install the package below:

ExtendedErr.sis
ExtendedErr.sis

S60 v3

On the emulator, open the "Tools / Preferences" menu and then check the Extended panic code file option or create the ErrRd file in Epoc32\Winscw\c\resource.

On the device, create the file in C:\\resource.


> Display the extended panic code in Emulator or Device

hello benk ... i have created the file that you have been issued ..but every time I have program close dialog...the ErrRd file didnt show anything.

> Display the extended panic code in Emulator or Device

The file will remain empty. But the popup window that used to show "System Error" will display a more comprehensive error message

> Display the extended panic code in Emulator or Device

Yes I have created the txt file in the specified directory. But it doesnt seem to help. Can someone please suggest something here.

Thanks, karen

> Display the extended panic code in Emulator or Device

How do i create the ErrRd file anyway? I'm using AppMan to create the file, but the only file it can create is a txt file, so it ends up being ErrRd.txt

> Display the extended panic code in Emulator or Device

Just rename it to ErrRd with a file explorer application (FExplorer, etc...)

> Display the extended panic code in Emulator or Device

it doesn't work in S60 sdk 2.0, or it didn't help in my system....

> Display the extended panic code in Emulator or Device

Hi, This errrd file was of a great help for me. Thanks. Now I have windows2000 and sdk 2.o on my machine. here the emulator crashes when the application panics. So is there any way hat we can capture the error code when application panics for me? Thanks Raja

> Display the extended panic code in Emulator or Device

Hey,

It appears that installing this file on Nokia 6600 can cause phantom errors to appear: We were testing an application that communicates with a notebook via Bluetooth and everytime ther ewas any communication we would end up seeing System Error (-36), which stands for KErrDisconnected ,on the device although otherwise the program would work just fine without any problems. It is alčso possible that wjhen this file is installed the system shows the stzandard error message for all the leaves no matter if they are handled or not, because we actually have tw oleaves with KErrDisconnected in the code but they are handled properly so the message should not appear.

> Display the extended panic code in Emulator or Device

I installed this program and ran a program which accesses the database using RDbs object. It gave me a "App. closed Main E32User-CBase 71" message. what is this error. where can i get the description of other panic codes.

Thank you,

> Display the extended panic code in Emulator or Device

How about the 6620? The errrd solution has worked great on the emulator, the 3650 and the 6600. But we are not getting errors displayed on the 6620. Any suggestions would be greatly appreciated.

> Display the extended panic code in Emulator or Device

Has anyone had any luck on the Nokia 6620? The ErrRd solution appears not to work on the 6620, at least for the device crashes i'm getting. Any pointers on getting info on the panics that are causing a device crash on the 6620 (with a J2ME app)?

> Display the extended panic code in Emulator or Device

Great thanks! It very helps. But, how to know what is BAFL 25. There is no info about it in SDL. Last entry is BAFL 23 and it means "unused". Please help.

> Display the extended panic code in Emulator or Device

Thank you very much!

Display the extended panic code in Emulator or Device

It works for me, symbianOS 7.0s (s60v2), thanks! for my bug, it gives me "Alloc 124641f00" sounds like a memory allocation error. Thanks!
-  qlw

Display the extended panic code in Emulator or Device

i tried to create the file on a 3:rd edition device in the resource directory using SExplorer, but permission was denied. has anyone successfully done this on a S60v30 device?