The debugger has a problem if you step through very quickly. It may cause
timeouts from the device/emulator if you do so, so you might want to step
through at a moderate speed. The other thing you may want to check (to avoid
funky variable displays, etc.) is to make sure you are debugging with
optimizations off. The optimizer does things like register coloring,
rearranging code, etc. so if you debug with opts on you may see strange
results in the debugger.
Rgds,
Jun-Kiat Lam
Metrowerks Technical Support
----- Original Message -----
From: "Eric Snider" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Sunday, May 14, 2000 4:56 AM
Subject: Re: CW Pro R6 for Mac - crashes
> I've made some progress since my last message. I can step through my
> code if I don't step through too quickly. That's how it seems. Am I
> being superstitious? Is it important to not step through code quickly?
>
> CW R6 is still crashing a lot. I fire my game in the emulator and
> when something has gone wrong and I kill it, CW crashes, the emulator
> crashes, and I reboot. I'm spending a lot of time rebooting.
>
> Here's what I could use help on: I compile and run my game in the
> emulator or on a real Palm device and it looks like the arrow that
> shows what code is being executed is wrong (in the interactive
> debugger). For a while it looked as if it was executing BOTH the if
> and else clauses of my if statement. Like it was just continuing
> through the code line by line regardless of what was there. Crazy!
> Now I can see there's just a mismatch between the code that's
> actually being run and where the debugger thinks we are. I figured it
> out from an error alert that my code displays because CW said we were
> running code several lines above the alert code. Is there a common
> mistake that would cause this? I've used CodeWarrior Pro for the Mac
> and Windows for years and I swear I've made it through developing
> entire products without a problem.
>
> Thanks,
>
> Eric
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/