At 11:57 2003-2-16 -0500, you wrote:
First, whenever you post about odd CodeWarrior behavior, you really need to also post the version of the tools you are using, as behavior changes and bugs are fixed from version to version. As best I can tell, this error isn't given by the V9 debugger.A gremlin seems to be crashing POSE on me. After a certain event, it hangs. When I try to put a breakpoint in the code to see if I'm caught in a loop, Codewarrior gives me the error "No data to read."
The "No data to read" error means that the debugger was notified that there was a debug packet available, but when it tried to read it, nothing was there. It is an indication that there's a problem in the connectivity between CW and your device, but I can't say specifically what happened.
If you can step through your code, you're connected -- CW is able to send packets to POSE and it sends back responses. Maybe POSE is faking things, but this is really unlikely.When I try stepping through the code to find out what might be going wrong, I reach a point where subsequent calls to EvtGetEvent(..) in my main Event loop will only generate nilEvents. CW and POSE don't seem to be connected anymore at this point -- the Gremlin's event count doesn't increase with every pass through my main event loop.
--Sorry about the vagueness of this post. Because I can't step through the code up to the problem, I'm having a hard time figuring out what's going on.
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/
