Pelles C > Feature requests
Memory leak detector
post from old forum:
Hi there,
As many programmers i like crawling the web and i found this link :
http://homepage.ntlworld.com/robertwalker/memleakcheck/
And an idea came to me...
As many of us are lazy developpers, i thought the public sources of this tool could be part of a PellesC extention that could check our code after compilation time to avoid us bad surprises ;-P
Just an idea, but can be a useful one ;-P
See ya,
Gerome
post from old forum:
Hello,
Thank you for this useful link!
Sounds like a good idea. Can't promise I will add it to the next release, but soon, I hope.
Pelle
post from old forum:
Hi group,
if you would like to get rid of memory management chores once and for all, check out http://www.hpl.hp.com/personal/Hans_Boehm/gc/.
The BDW garbage collector is compact, stable and fast. I regard it very highly.
Hans
post from old forum:
Thanks Hans,
I've already used the GC and it works fine
But his was not exactly the debate
It was a simple tool which usage will to show the programmer he has to revisit his code in order to avoid coding with his shoes
Yours,
Gerome GUILLEMIN
http://gedd123.free.fr/Documentation.htm
post from old forum:
Bonjour Gerome,
well, the reason I suggested to use the BWD garbage collector was not just for convenience. It also has a mode that detects memory leaks. In this mode, you'd still 'free' every '(m|c)alloc' and use the collector to detect any leaks.
For shipment, you'd leave the gc out.
salut
Hans
Navigation
[0] Message Index
[#] Next page
Go to full version