If your application generates a panic it will be closed and an error note is shown by the OS: “Program closed:/n%S” where %S is your application’s name.
To get the emulator/device display the reason and error code for the panic you should create a zero size file named ERRRD (no file name extension) under c:\system\bootdata\
On device you can use a file explorer application to create the file, e.g. FExplorer.
On emulator the file should created on your PC’s file system under %EPOCROOT%\epoc32\wins[cw|b]\c\system\bootdata\
Once this file is created the error note shown by the OS would look like: “Program closed:/n%S/n%S %d” where the second %S is replaced by the panic reason (e.g. USER, KERN-EXEC,…) and %d would be replaced by the panic code.
Note: the panic reason and code are only shown on this error note; they are NOT logged into the errrd file.
A quick search in SDK’s help and you will find a hint on the king of programming error you should be hunting for in your code.
When reporting an application crush, on this board or to Nokia Support, please add the panic reason and code to the problem description.