"S KAR" <[EMAIL PROTECTED]> wrote in message news:35009@palm-dev-forum...
>
> I made one appn. in CodeW. Now when I try to open it,
> the emulator gets hung, saying "my appn has performed
> an illegal operation. It has performed TRAP $0."
> Can anybody help me with that... whats the problem?
> and whats this 'TRAP $0'.
>
> Thanx!
> Su
TRAP $0 is the breakpoint instruction that CodeWarrior inserts into the code
to allow it to regain control when your program starts. If the debugger
stops communicating the POSE, its possible for your code to have the BP left
inside after a reset, which will cause the emulator to hang with this
message.
The fix is to reset the emulator by creating a new image or reloading an old
one. If you're on Windows and you have the emulator set to auto-load an
image, you can override this by having your caps lock set when POSE is
launched.
--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/