Question

There is a command po in GDB which prints Objective-C object details. (with its description) In LLDB, po just print memory address. How can I see similar output of GDB in LLDB?

Was it helpful?

Solution

It is implemented nowadays. For completeness sake, it is an alias to this command:

expression -o  --

For help with this and other LLDB commands, use the command help:

help expression

OTHER TIPS

Here are some handy GDB to LLDB command equivalents.

It looks like not implemented yet at this time. http://lldb.llvm.org/status.html

Don't know lldb, but maybe something to the effect of:

print _NSPrintForDebugger(obj)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top