Thanks Ben.

The problem is that we put it to sleep.  Our app spends most of its time asleep - only 
waking during an alarm to get some patient feedback on a survey.

In general, POSE is not friendly when asleep.  There is the additional (same) problem 
of touching the thing in the wrong places while it's asleep.  If, for example, one 
touches the graffiti area when the device is asleep, that will cause the same type of 
hang as the problem I described below.


-----Original Message-----
From: Ben Combee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 10:54 AM
To: Palm Developer Forum
Subject: Re: General problem with POSE


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/


------------------------------------------

The information in this transmittal and any attachments is privileged and confidential 
and is intended only for the recipient(s) listed above. You are hereby notified that 
any unauthorized distribution or copying of this transmittal or its attachments is 
prohibited. If you have received this transmittal in error, please notify Invivodata 
immediately at (831) 438-9550.

------------------------------------------



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

Reply via email to