gdb.info: The Print Command with Objective-C
Go backward to Method Names in Commands
Go up to Objective-C
Go to the top op gdb
The Print Command With Objective-C
The print command has also been extended to accept methods. For
print -[OBJECT hash]
will tell GDB to send the `hash' message to OBJECT and print the
result. Also, an additional command has been added, `print-object' or
`po' for short, which is meant to print the description of an object.
However, this command may only work with certain Objective-C libraries
that have a particular hook function, `_NSPrintForDebugger', defined.
Created Mon Nov 8 17:42:38 2004 on tillpc with info_to_html version 0.9.6.