Not real sure what debugging to a device would offer me.  I've used both
DebugRoms and Non-Debug Roms in Poser and the Profiling poser.  It's
definatly slow on exit.  Tollerable on the faster devices but painful and
untollerable on like say a V or Vx.

I'm working through some things now.  I suspect I've done something
somewhere that's causing the PrvSetLastErr to be doing something error
related but since I can't reall follow the train, I'm working with a blind
fold on. 

If someone knows how to get names attached to those functions under CW (when
walking through OS stuff) or in the Profiler would be just outstanding :D
-- 
Matt Disher
[EMAIL PROTECTED]


> From: "Fritzsching Michelle" <[EMAIL PROTECTED]>
> Organization: Booz Allen Hamilton
> Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Date: Thu, 16 May 2002 16:35:35 -0400
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Subject: Re: Lengthy Exit Time
> 
> Have you tried debugging to a device? What does it do then?
> 
> -Michelle
> 
> Matt Disher wrote:
>> 
>> I posted a while back and never got a response, so I shelved my problem for
>> now in hopes that it would mainfest itself differently or perhaps just go
>> away (wishful thinking).
>> 
>> I now need to fix this.
>> 
>> Basically my App takes for ever and a day to exit and get back to the
>> Launcher.  All this happens POST my AppExit function, and Poser doesn't
>> report any memory leaks.
>> 
>> When I profile the app, the breakdown of time spend goes into this chain:
>> 
>> functions:
>> partial
>> partial
>> MemChunkFree
>> partial
>> SysAppExit
>> unknown $000500A2
>> unknown $000507DC
>> DmGet1Resource  (1661 calls)
>> DmFindResource (1661 calls)
>> DmGetResourceIndex  (2)
>> DmNextOpenResDatabase (1661 calls)
>> PrvSetLastErr   (3320 calls)
>> MemHandleUnlock (2 calls)
>> 
>> I have the OS sources but have not been able to figure out what's happening
>> past SysAppExit, or what could be causing 3320 calls to PrvSetLastErr, or
>> what/why the OS would be looking 1661 times for a resource...
>> 
>> Any tips, tricks, thoughts welcome.
>> 
>> thx.
>> 
>> -MD
>> 
>> --
>> For information on using the Palm Developer Forums, or to unsubscribe, please
>> see http://www.palmos.com/dev/support/forums/
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please
> see http://www.palmos.com/dev/support/forums/
> 


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

Reply via email to