Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: dario_weimar on June 02, 2015, 10:33:36 am

Title: Valgrind on Code::Blocks
Post by: dario_weimar on June 02, 2015, 10:33:36 am
Dear community,
   I am trying to use Valgrind to debug my program. I am running it on a Linux Mint, and the Code::Blocks version is the  13.12!

My problem number 1 is that I was not able to find a manual to understand how to run Valgrind in Code::Blocks.

After having read many forum, I was able to install valgrind on my OS and to detect some of the memory problem that my program has.

The problem number 2 is that my Valgrind does not generate a ValgrindOut.xml any more (it did when I run it the first times). I made sure of that by looking inside the default codeblocks folder and after by searching files with that name all around the computer. Do you know what could I do in order to fix this problem?

Thanks in advance,

dario_weimar
Title: Re: Valgrind on Code::Blocks
Post by: oBFusCATed on June 02, 2015, 09:05:50 pm
2. Do you have a project? The valgrindout.xml is generated in the root of the project.
Title: Re: Valgrind on Code::Blocks
Post by: dario_weimar on June 03, 2015, 10:11:07 am
Thank you for your answer. Yes I have a project, but no output seems to be generated at its root.

Any other ideas?

Best regards
Title: Re: Valgrind on Code::Blocks
Post by: oBFusCATed on June 03, 2015, 09:18:08 pm
What is the log from one of the valgrind log panels?