Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No output in debug area

Tags:

xcode

ios

lldb

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.

like image 768
Resh32 Avatar asked Nov 19 '12 12:11

Resh32


People also ask

Where is print output in Xcode?

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).

What is debug print in Swift?

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.


1 Answers

That was a silly one.

Simply select All output in the debug area, instead of Target output.

like image 67
Resh32 Avatar answered Sep 21 '22 00:09

Resh32