Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LLDB equivalent of `po` in GDB in Xcode4.1?

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?

like image 792
eonil Avatar asked Jul 24 '11 01:07

eonil


1 Answers

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
like image 97
Victor Jalencas Avatar answered Oct 06 '22 19:10

Victor Jalencas