Author Topic: Is there something like Valgrind for windows when using CB?  (Read 6515 times)

Offline wanggaoteng

  • Multiple posting newcomer
  • *
  • Posts: 30
Is there something like Valgrind for windows when using CB?
« on: April 06, 2019, 05:33:01 am »
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++?

Offline CJS

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: Is there something like Valgrind for windows when using CB?
« Reply #1 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/

Offline raynebc

  • Almost regular
  • **
  • Posts: 217
Re: Is there something like Valgrind for windows when using CB?
« Reply #2 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.

Offline wanggaoteng

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: Is there something like Valgrind for windows when using CB?
« Reply #3 on: May 28, 2019, 03:30:34 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.
« Last Edit: May 28, 2019, 03:36:37 pm by wanggaoteng »

Offline wanggaoteng

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: Is there something like Valgrind for windows when using CB?
« Reply #4 on: May 28, 2019, 03:31:59 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

  • Guest
Re: Is there something like Valgrind for windows when using CB?
« Reply #5 on: January 24, 2020, 02:23:10 pm »
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.