At 12:01 PM 9/24/2002 -0400, you wrote: >This can happen if you start the app in the debugger and then somehow exit >the debugger without exiting the app (like a debugger crash). Reset the >device and reload the application. > >I'm sure Ben will have a more technical description of how this happens...
That's one is pretty good. Basically, a TRAP #0 is a nice, two-byte instruction that debuggers use to replace your real instructions in your code. Palm OS handles these by stopping your program and sending a signal to an attached debugger saying "I'm stopped here". Normally, if you kill your debug session, the debugger will remove all the breakpoints before resetting the device. However, in some error situations, this doesn't occur, and you need to reload your app. -- Ben Combee CodeWarrior for Palm OS Platform technical lead [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
