In the debug area:
(lldb) po myObjectName
(lldb)
LLDB is giving an empty response for all my po or print queries. It seems like LLDB debug is not working anymore or not printing the debug messages.
Press ⇧⌘Y or choose View > Debug Area > Show Debug Area to show the console output (or ⇧⌘C / Activate Console). Usually, this window will open automatically when your program produces output (this is controlled by the Behaviors section of Xcode's Preferences).
debugPrint() - Writes the textual representations of the given items most suitable for debugging into the standard output. Basically debugPrint adds additional information that is useful for debugging like type information etc.
That was a silly one.
Simply select All output in the debug area, instead of Target output.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With