[英]LLDB equivalent of `po` in GDB in Xcode4.1?
There is a command po
in GDB which prints Objective-C object details. GDB中有一个命令
po
,用于打印Objective-C对象的详细信息。 (with its description) In LLDB, po
just print memory address. (及其描述)在LLDB中,
po
只打印内存地址。 How can I see similar output of GDB in LLDB? 如何在LLDB中看到类似的GDB输出?
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: 有关此命令和其他LLDB命令的帮助,请使用命令help:
help expression
这里有一些方便的GDB到LLDB命令等价物 。
It looks like not implemented yet at this time. 它目前看起来还没有实现。 http://lldb.llvm.org/status.html
http://lldb.llvm.org/status.html
不知道lldb,但可能有以下影响:
print _NSPrintForDebugger(obj)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.