dev:debugging
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
dev:debugging [2015/10/02 13:57] – oschuett | dev:debugging [2015/12/18 14:36] – [valgrind] vondele | ||
---|---|---|---|
Line 27: | Line 27: | ||
===== valgrind ===== | ===== valgrind ===== | ||
+ | ==== undefined variables ==== | ||
[[ http:// | [[ http:// | ||
Line 56: | Line 57: | ||
to get the origin of undefined variables in addition to a leak check report. | to get the origin of undefined variables in addition to a leak check report. | ||
+ | |||
+ | ==== understanding memory usage ==== | ||
+ | |||
+ | valgrind also comes with the ' | ||
+ | |||
+ | Rather easy with | ||
+ | |||
+ | < | ||
+ | valgrind --tool=massif ../ | ||
+ | ms_print massif.out.XYZ | ||
+ | </ | ||
+ | |||
+ | The valgrind homepage has [[http:// | ||
===== Memory leak checking ===== | ===== Memory leak checking ===== | ||
dev/debugging.txt · Last modified: 2020/08/21 10:15 by 127.0.0.1