Alloc'd vs. Free?
John,
changing all the calls to AllocRemember shouldn't be THAT hard (or do
you have too much code to change?). If you SetFunction AllocMem() you are
watching _everyone's_ allocations, not just yours. Mungwall indeed
watches allocation and frees, but I don't think it logs anywhere. Maybe
you want snoop and snoopstrip?? Here's a list of what's in my
debug/memory directory (I think most of this came from C=):
3.HEARTOFGOLD.ZAPHOD:2.0_Misc/debug> dir memory
drip eatmem
flush frags
memlist memmon
owner owner.doc
owner.doc,v peek
poke settaskname
snoop snoopstrip
sparemem
I'm not sure I remember what all of these do (or any of them for that
matter).