Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Question about Memory Leak Detection
Question about Memory Leak Detection [message #12585] |
Fri, 09 November 2007 14:32 |
captainc
Messages: 278 Registered: December 2006 Location: New Jersey, USA
|
Experienced Member |
|
|
Is the memory leak detection from the debugger available on all operating systems? If you are using the VCC compiler, does it use the VCC memory leak detector or is it built into TheIDE and works for all programs?
TIA
|
|
|
Re: Question about Memory Leak Detection [message #12659 is a reply to message #12585] |
Mon, 12 November 2007 15:02 |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
captainc wrote on Fri, 09 November 2007 14:32 | Is the memory leak detection from the debugger available on all operating systems? If you are using the VCC compiler, does it use the VCC memory leak detector or is it built into TheIDE and works for all programs?
TIA
|
As I've seen from sources (but I may be wrong...) Upp leak detector is built in when compiling in debug mode, and works hooking the allocation memory routines... checking on program exit if all allocated mem is freed. So, it should be compiler independent stuff.
BTW, for what I've seen, it's working quite good.
It has even some way (not 100% reliable of course, that's impossible...) to detect writes to freed blocks.
All that (AFAIK) only when compiling with debugging on.
Ciao
Max
|
|
|
Goto Forum:
Current Time: Sat Sep 21 05:54:51 CEST 2024
Total time taken to generate the page: 0.01992 seconds
|