Re: Xcode Debugger
- From: "Mark" <simmer26@xxxxxxxxx>
- Date: 15 Sep 2006 10:51:24 -0700
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
.
- References:
- Xcode Debugger
- From: mjbaruch
- Xcode Debugger
- Prev by Date: Re: Please, what is the 200 mb space between user partitions used for?
- Previous by thread: Xcode Debugger
- Index(es):