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?
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
这里有一些方便的GDB到LLDB命令等价物 。
It looks like not implemented yet at this time. http://lldb.llvm.org/status.html
不知道lldb,但可能有以下影响:
print _NSPrintForDebugger(obj)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.