News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Is there something like Valgrind for windows when using CB?

Started by wanggaoteng, April 06, 2019, 05:33:01 AM

Previous topic - Next topic

wanggaoteng

Hi, there is a tool named Valgrind in the toolbar of CodeBlocks for the linux version, not for the windows version. The Valgrind is very useful.
Is there something like Valgrind for the windows to use for coding C/C++?

CJS

I have found DrMemory to be very useful.  You install it, drag your .exe onto its icon, and after closing your app, it reports any issues in Notepad.
Home page:
http://drmemory.org/

raynebc

Even though it doesn't support C++'s new and delete allocation/de-allocation mechanisms, I've been using MemWatch for several years.

wanggaoteng

Quote from: CJS on April 07, 2019, 08:45:20 PM
I have found DrMemory to be very useful.  You install it, drag your .exe onto its icon, and after closing your app, it reports any issues in Notepad.
Home page:
http://drmemory.org/
Hi, CJS,
Thank you. Sorry for my late reply. I'll try DrMemory.
Thanks for posting the link of DrMemory.

wanggaoteng

Quote from: raynebc on April 08, 2019, 06:45:52 PM
Even though it doesn't support C++'s new and delete allocation/de-allocation mechanisms, I've been using MemWatch for several years.
Hi, raynebc,
Thank you. Sorry for my late reply. I'll try MemWatch.

Mary_El

if you prefer UI I would suggest Deleaker. It seems it is not integrated with Code Blocks but its standalone version is always ready to show leaks. Cheers, Mary.