Re: Xcode Debugger



You're not going to see any source code until you start debugging your
program and pause execution. Click the Debug button in the debugger
toolbar to start debugging. Setting a breakpoint is the easiest way to
get your program to pause execution. You can set a breakpoint at a line
of code by clicking the gutter next to the line of code in Xcode's
editor window. Clicking the Breakpoints button in the debugger toolbar
will also let you set a breakpoint.

If your program requires input from the user, open the standard I/O Log
by choosing Debug > Standard I/O Log. If you don't open the log, your
program sits there waiting for input from the user, and you'll never
see source code.

If you have a broadband connection, I recommend upgrading to Xcode 2.4.
Apple has made a lot of improvements to Xcode since Xcode 2.0,
including the ability to create universal binaries that run on Intel
and PowerPC Macs. You can sign up for a free ADC membership at Apple's
developer site and download the latest version of Xcode from the ADC
site.

Mark Szymczyk
Author, Xcode Tools Sensei
Now Updated for Xcode 2.4
http://www.meandmark.com

.