Pergunta

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?

Foi útil?

Solução

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

Outras dicas

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)
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top