At 13:27 2002-10-26 -0400, you wrote:
I'm getting an error when I kill a debug run that I don't know where its
coming.  I start POSE and then hit F5 to start my debug session.  Everything
goes well.  Then when I cancel the debug session by (either by closing the
debug window or "Debug>Kill"), POSE resets (as usual) and then gives the
error:

   MyApp (1.0) just changed the emulated program counter to
   0x8003A6A6.  This address is invalid because it's in neither ROM nor
   RAM.

And the usu. button [Debug] [Reset...] buttons.  But, when I hit [Debug] the
error message goes away and then comes back (I guessing that it can't debug
at this point, because the debug window has been killed).

Its a tough error to debug because it does not rear its ugly head until the
debug session is killed.  I'm at a loss as to where to begin to look for the
error and could really use some pointers as to what might be going on.
This sounds like a problem in your command handler -- you get a "soft reset" notification to your application that comes as a non-global launch code. Only the first segment will be available for your application when you get this, and it looks like you're trying to call a non-loaded segment in response to this. Are you doing anything like this before you determine what launch code you're handling?

This should also happen if you just drag your PRC file into the emulator and do a reset without the debugger attached.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to