As an Assistant Professor, I'm teaching Symbian OS at the University of Applied Sciences in Hagenberg, Austria. My company "Mopius" is developing mobile software with a special focus on Symbian OS.
mopius | 04 February, 2008 14:28
Everyone who has spent at least a few hours developing in C++ for Symbian OS will know about Symbian OS system error and panic codes. No doubt one of the most “famous” is the KERN-EXEC 3 (null pointer exception). But what if you encounter an E32USER-CBase 71? What is the error -5? Nobody can know all the codes by heart, so you have to look them up:
![]() |
| The new PanicLookup-Plug-in allows comfortably searching panic and system error codes. |
Unless you are a perfect developer with centuries of experience, you will regularly experience errors codes. Therefore, the idea is obvious – an integrated error and panic code lookup tool for the Carbide.c++ IDE would be a considerable timesaver.
PanicLookup-Plug-in
Wolfgang Damm and Andreas Pum, two “Mobile Computing”-students from the University of Applied Sciences in Hagenberg, have just finished a plug-in for Carbide.c++, which allows fast and efficient lookup of error codes.
Quite some time was spent on optimizing the integration, in order to maximize the efficiency. For example, the plug-in automatically parses the debug output for panic codes – you just have to switch to the plug-in window to read the description, which is in turn directly taken from the latest Symbian OS 9.3 system panic reference.
Features
Additionally, the plug-in allows manual lookup, featuring specialized auto-completion. Once you entered the first few letters of the panic category, you can jump to enter the number by pressing TAB. The standard Symbian OS error codes can be retrieved by searching for “Error -5” or in the other direction by entering “KErrNotSupported”.
By default, the devices do not display the error codes so that end-users are not confused. To enable error display, copy an empty ErrRd-file to the C:Resource-folder of your phone through the pkg-file of your application. It’s even easier if you just install a small ErrRd-SIS file, which creates this file for you.
Download
The plug-in along with documentation and installation instructions can be downloaded for free from symbianresources.com. Of course, the developers would like to hear your feedback, so don’t hesitate to comment here or email them if you find it useful or if you have any ideas on how to further improve the plug-in!
![]() |
| For additional comfort, the plug-in automatically parses the debug output and instantly displays the description, which was taken right from the latest SDK documentation. |
Paul.Todd | 05/02/2008, 13:10
I noticed the AVKON panics in AknPanic.h seem to be missing on my version, otherwise seems to work fine on 1.3
WolfgangDamm | 07/02/2008, 04:01
Thanks for pointing out that AVKON pancis are missing. We are currently looking into how we will integrate those. Expect a new release soon!
WolfgangDamm | 11/02/2008, 23:07
We finished version 1.1 with feature improvements based on feedback of the community.
Changes:
* Avkon Panics included
* Panic numbers are displayed without a minus
* Search for error codes by just typing -
* Bug with automatic panic detection fixed
You can download it from http://www.symbianresources.com/projects/paniclookup.php
Thinking about what mobile phones can do except messaging and voice calls is one of my main interests. At the department of Mobile Computing at the University of Applied Sciences in Hagenberg (Austria), I can work on those ideas every day by collaborating with students, researching and - well - thinking.
Re: Efficiency Boost - New Carbide.c++ Panic Lookup Plug-In
antonypr | 04/02/2008, 19:44
Well done! It works pretty smoothly on my machine. It will definitely save my time... :)