Ahad Porkar
Ahad Porkar

Reputation: 1708

Debug Xcode program or watch output log

Im new to Xcode programming , and i want to know is there any way to Find out program compile

and execution behavior on Xcode IDE?

I have some exprience on both Eclipse and VisualStudio IDE.

in eclipse i use Logcat for watching the output messages and error logs and Same Happens to

visual studio on Output or error list windows , but problem is i couldnt find the way to check

this log on Xcode.

there is a guid on apple site :

https://developer.apple.com/library/ios/documentation/ToolsLanguages/Conceptual/Xcode_Overview/DebugYourApp/DebugYourApp.html

and there is a log window on IOS simulator.

are these my only available option and should i only stick to them ?

Upvotes: 1

Views: 521

Answers (3)

Toseef Khilji
Toseef Khilji

Reputation: 17419

All your Logs and errors are shown in Debug are,

You can print log using NSLog i.e. NSLog(@"log message");

You can show it from : enter image description here

Or

On Top Right side enter image description here

So all Errors and logs are show in Debug area.

enter image description here

Upvotes: 1

trojanfoe
trojanfoe

Reputation: 122458

You use the Console in Xcode, controlled from the Debug Area menu:

enter image description here

Which looks like this:

enter image description here

Upvotes: 2

Gajendra Rawat
Gajendra Rawat

Reputation: 3663

See three icon are in the Top right corner click on middle icon

enter image description here

Upvotes: 2

Related Questions