44
edits
Dreammaster (talk | contribs) m (Change debugger hotkey) |
m (valgrind option is leak-check not leakcheck) |
||
Line 77: | Line 77: | ||
This can be invoked similar to gdb as <tt>valgrind ./scummvm</tt>. On Mac OS X, you will also want to pass the <tt>--dsymutil=yes</tt> argument so that you will get debug symbol information. | This can be invoked similar to gdb as <tt>valgrind ./scummvm</tt>. On Mac OS X, you will also want to pass the <tt>--dsymutil=yes</tt> argument so that you will get debug symbol information. | ||
By default, this will output memory access issues. If you want to do leak checking, you should invoke as <tt>valgrind -- | By default, this will output memory access issues. If you want to do leak checking, you should invoke as <tt>valgrind --leak-check=full ./scummvm</tt>. | ||
For further details, you should consult the relevant documentation of these tools on their web sites or manual pages. | For further details, you should consult the relevant documentation of these tools on their web sites or manual pages. |
edits