Bureaucrats, cc_docs_admin, cc_staff
2,314
edits
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 : | ||
{{ | {{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]. |