I am using Xcode 5.1.1, my debugger accept object when i try to print them but doesn't print details of it. Also it is not showing any error message.
I have checked all answer listed for one similar question here but didn't found any of such error in my xcode setting.
Can some one please tell me where else i need to check?
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).
When you run an application in Xcode, the debugger is automatically started and attached to the process of the application. Click the Run button in the top left or press Command + R. From the moment the application is up and running, we can start inspecting the process and, if necessary, debug it.
After checking all the buttons in debugger window, found there is button at bottom (default selected "All Output") which popup drop-down when we click on it.
This was set to 'Target Output' which causing the problem. Select option either 'All Output' or 'Debugger Output', then we can get values of variable/object when we say po variable/object.
For me the issue was the filter. If you try to use po variable
when the filter is on, the response may be filtered out and not show.
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