-
-
Save kastiglione/c5a27e39f1dda34cce4f17c6545b59c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def stdio_print(debugger, command, result, dict): | |
print "Printing via stdio" | |
def result_print(debugger, command, result, dict): | |
print >> result, "Printing via result" | |
def __lldb_init_module(debugger, dict): | |
debugger.HandleCommand("command script add -f printing.stdio_print stdio_print") | |
debugger.HandleCommand("command script add -f printing.result_print result_print") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add to
~/.lldbinit
: