Valgrind: Difference between revisions

Jump to navigation Jump to search
Line 11: Line 11:
== Using Valgrind ==
== Using Valgrind ==
Once your code is compiled with the proper options, you execute it within Valgrind with the following command :
Once your code is compiled with the proper options, you execute it within Valgrind with the following command :
{{Commande|valgrind --tool{{=}}memcheck --leak-check{{=}}yes --show-reachable{{=}}yes ./votre_programme}}
{{Command|valgrind --tool{{=}}memcheck --leak-check{{=}}yes --show-reachable{{=}}yes ./your_program}}


For more information about Valgrind, we recommend [http://www.cprogramming.com/debugging/valgrind.html this page].
For more information about Valgrind, we recommend [http://www.cprogramming.com/debugging/valgrind.html this page].
Bureaucrats, cc_docs_admin, cc_staff
2,314

edits

Navigation menu