> I still couldn't resolve the reason for my fatal exception. > Debugging my application, I see that the fatal exception occurs after the > PilotMain() has returned. The debugger only shows assembler code after the > PilotMain() has returned. The assembler code looks like this (see below).
Assuming you are stepping on memory, which it sounds like, you could try MemSetDebugMode(). You might be able to catch the problem immediately after it happens. Failing that, you may have to go with the old tried and true method of finding memory problems: Keep commenting out chunks of your code until you no longer get the problem. The last bit you commented out was probably the culprit. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
