best way to do this is write wrapper for MemPtrNew and MemPtrFree which would
create lit of blocks allocated (using macros, in that case you can get name of
function and even line in source from cmpiler, but program will get bigger and
slower).

then you can add some information to list on memptrnew and delete it on
memptrfree. and at the end of application check this list and if its not empty
do something with it (probably most simple is to dump all information to text
file on sdcard)

i was actually always too lazy to make it, because most of my programs still
work in emulator...but now i don't know if there is any simpler way...

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

Reply via email to