From: | Martyn Capewell |
Date: | 31 Aug 2000 at 17:54:12 |
Subject: | Debugging |
Hello,
I'm currently writing a simple program with which to view pictures, and it's
virtually completed. However, I find it leaks small constant amounts (216
bytes) of memory on each execution. I've ruled out things like libraries remaining in memory, and scrollback buffers in the shell, etc. but
I'm finding it difficult to find the true cause.
1) What programs/techniques are available to monitor memory
allocation/deallocation? Do they cover structures created by OS functions
that require later freeing, eg. CreateMenus()/FreeMenus()?
Also, I'm thinking that something like Enforcer would be useful to use
during program testing. However, I've never been able to get it to run. I
believe this is due to incompatibilities between it and my Phase 5
accelerator.
2) What do BlizzardPPC owners use as an Enforcer like tool? Is it possible
to get a tool that works under both PUP and WOS?
And finally.
3) What other debugging tools would be useful with the compiler I use, VBCC?
Thanks in advance to anybody who can tackle these questions.
... but you can't expect to wield supreme executive power just because some watery tart threw a sword at you!