At 11:40 AM 8/28/2002 -0400, you wrote:
>I've run into a problem many times with POSE and I'm wondering if there is 
>something that can be done about it....
>
>Here's the problem:
>I'm debugging on POSE using CW.
>The device goes to sleep.

I didn't think POSE would let the device go to sleep.  I've seen this with 
the new Palm OS 5 Simulator, but not POSE.

>Now I (stupidly, because I've done this a 100 times), attempt to set a 
>break point while POSE is asleep.  Of course this doesn't work and now 
>POSE is hung and the debugging session that I've very carefully setup and 
>let run over night to get it to just the right place is hosed.

Unfortunately, the debug protocol between CodeWarrior's debugger and POSE 
doesn't allow complicated retries.  The TCP/IP channel they use is open all 
the time, and I think it is POSE that is hanging when it tries to modify 
memory on the device.

>Is there anything that can be done about this?
>Is there a particular place in the POSE code were I can look to change 
>this behavior?

The easiest fix would be to turn off auto-sleep (usually in the General 
prefs panel).


-- 
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