SyntaxHighlighter

2009/07/29

How to run programs with valgrind on CentOS-5.3

The Developer's Guide to DebuggingAt first, this is just my case. Using Valgrind, I run my programs like:
valgrind --leak-check=full --error-limit=no --show-reachable=yes --log-file=/tmp/valgrind-log <PROGRAM> <ARGS>...


Then close the application in correct way, the log file /tmp/valgrind-log.XXXX will be obtained.

0 件のコメント: