Difference between revisions of "Debugging ScummVM"

Jump to navigation Jump to search
1 byte added ,  18:10, 20 September 2022
m
valgrind option is leak-check not leakcheck
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 --leakcheck=full ./scummvm</tt>.
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.
44

edits

Navigation menu