I'd suggest using Palm Reporter to print debug messages.  See the Palm
Reporter at the bottom of the Palm Emulator page

http://www.palmos.com/dev/tools/emulator/

and Steve Mann's great article on heap tracking at

http://oasis.palm.com/dev/kb/papers/1930.cfm

You should be able to easily modifiy the code in the article to work with
Palm Reporter and then you can watch your app allocate/deallocate memory.

Cheers,

-DGA

> -----Original Message-----
> From: Joe [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 9:52 AM
> To: Palm Developer Forum
> Subject: Re: Stacktrace Line Numbers. Was Re: Deciphering Memory Leak
> Log fil es?
> 
> 
> --- Clark  Dorman wrote:
> > I have a subroutine with some rather nasty logic 
> > that is leaking memory, but it is also rather large 
> > and I can't tell where in the  routine it is leaking.  
> > So, how hard is it to add line numbers?
> 
> So, how hard is for you to break that routine up into smaller
> functions?
> (Sorry, I couldn't resist. :) )
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
> 
> -- 
> 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/

Reply via email to