debuggingsymbiancarbidepanic

Debugging panics in Symbian OS using Carbide.c++


Is there a way to drop into the debugger when any panic occurs like if there were a breakpoint?

I'm using Carbide.c++ 2.3.0. I know about the Debug Configurations > x86 Exceptions, but it covers only a small fraction of what can actually happen in a real application. For instance, it does not trap user panics, or ALLOC panics when application exits with memory leaks.


Solution

  • If you are using the emulator, you can debug panics by enabling 'just-in-time debugging. This is done by adding the following line to epoc32\data\epoc.ini:

    JustInTime debug
    

    For more details, see the epoc.ini reference in the SDK documentation.