LINUX C++ 调试tips

698阅读 0评论2009-11-11 raymond1984
分类:LINUX

使用valgrind

valgrind --log-file=valReport --leak-check=full --show-reachable=yes --leak-resolution=low  --num-callers=4 ./your_program

详细见这里:
http://blog.csdn.net/dyoldfish/archive/2007/08/29/1763546.aspx

上一篇:linux 几句话技巧
下一篇:典型程序bug感触