Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mosesaro

macrumors member
Original poster
Aug 18, 2009
60
0
New York
I am learning how to program in Object-C and i am reading the Book Programming in Objective C 2.0. I am having some problems with Xcode - Debugger Console.

When I Build and run I get

[Session started at 2010-02-26 13:15:59 -0500.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1346) (Fri Sep 18 20:40:51 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000
Loading program into debugger…
Program loaded.
run
[Switching to process 9442]
Running…
2010-02-26 13:16:00.044 prog1[9442:a0f] Programming is fun!
2010-02-26 13:16:00.046 prog1[9442:a0f] Programming in Objective-C is even more fun!

Debugger stopped.
Program exited with status value:0.

But the Book says I am suppose to get

[Session started at 2010-02-26 13:15:59 -0500.]
2010-02-26 13:16:00.044 prog1[9442:a0f] Programming is fun!
2010-02-26 13:16:00.046 prog1[9442:a0f] Programming in Objective-C is even more fun!

Program exited with status value:0.

Is there like a certain setting that is on that shows the extra information.

Thank you
 
Your output is fine. You're seeing the intro/copyright info for gdb, which is the debugger. AFAIK, there's no way to turn that off in Xcode yet.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.