User forums > General (but related to Code::Blocks)

memory leak detector for codeblocks

<< < (2/2)

MortenMacFly:

--- Quote from: jens on June 27, 2011, 08:28:45 pm ---I don't know such a memoryleak detector (but I did not really do a deep search for it, I feel mor familiar with linux).

--- End quote ---
There are some for windows I know (like PCLint), but they are all commercial, so a plugin is not feasible or would be very restricted to those owning a license.

Jenna:

--- Quote from: MortenMacFly on June 28, 2011, 07:45:05 am ---
--- Quote from: jens on June 27, 2011, 08:28:45 pm ---I don't know such a memoryleak detector (but I did not really do a deep search for it, I feel mor familiar with linux).

--- End quote ---
There are some for windows I know (like PCLint), but they are all commercial, so a plugin is not feasible or would be very restricted to those owning a license.

--- End quote ---


--- Quote from: jens on June 27, 2011, 08:28:45 pm ---If you know a good and free memory leak detector, someone can surely create a plugin to call it (if it has a btach mode available, otherwise, you can create an entry in the "Tools [ + ] "-menu.

--- End quote ---

reckless:
hmm not an external tool but i use it in a game engine im working on and it's pretty good at spotting leaks.

http://hem.passagen.se/blizzar/mss/

to use it include mms.h somewhere global and link your app with libmss. now when ever you run your app a log will be created, and if theres any leaks a warning will appear in that log telling you in what function the leak occured (with line numbers and all).

the format of the log can be controlled by a cfg file also called mss.cfg

Manolo:
My favorite is MSS, even if un-maintained!

Another one (also open source) is Nvwa:
http://sourceforge.net/projects/nvwa/

Regards,
Manolo

Navigation

[0] Message Index

[*] Previous page

Go to full version