Welcome, Guest. Please login or register.
Did you miss your activation email?
September 09, 2010, 09:47:15 AM
Home Help Search chat Login Register   
News:   If you like the book and forum please  write a review on Amazon   Recorded lessons available for iPad viewing and download....in process! Consulting and onsite training available!   If you're running Xcode 3.2 (or later), see this post   Follow me on Twitter  @skochan  Forum Guests: register to download (or see) attachments.    Join our mailing list.


+  Official Forum for Programming in Objective-C 2.0 (the iPhone Programming Language) - Stephen Kochan
|-+  Programming in Objective-C 2.0, LiveLessons Part I
| |-+  Discussion
| | |-+  Removing gdb introductory message in console
« previous next »
Pages: [1] Go Down Print
Author Topic: Removing gdb introductory message in console  (Read 885 times)
sorinc03
Newbie
*
Posts: 4


« on: February 22, 2010, 02:01:35 PM »

Hello everyone,
I am watching Stephen's lessons and I was wondering how I could set XCode not to show the whole:
Quote
GNU gdb 6.3.50-20050815 (Apple version gdb-1461) (Wed Dec 23 06:11:18 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…

in the console when running a program. I don't see the use of all the text displayed and I would like to have a blank screen when starting to read variables and such. Any ideas? Mr. Kochan?
Logged
skochan
Administrator
Hero Member
*****
Posts: 2250



« Reply #1 on: February 22, 2010, 02:28:57 PM »

Go to Xcode > Preferences...   Under Debugger Console Output  set the font size to something tiny (2 for example) and the color to light gray (you can even change it to white and it will be gone).

Cheers,

Steve
« Last Edit: February 22, 2010, 02:45:49 PM by skochan » Logged
sorinc03
Newbie
*
Posts: 4


« Reply #2 on: February 22, 2010, 02:31:57 PM »

I set it to what you said but the thing is that even my printf outputs become tiny and faded...so that's not a solution.
Logged
skochan
Administrator
Hero Member
*****
Posts: 2250



« Reply #3 on: February 22, 2010, 02:48:02 PM »

No, go back and check. You set the wrong preference.

Cheers,

Steve
Logged
sorinc03
Newbie
*
Posts: 4


« Reply #4 on: February 22, 2010, 03:01:16 PM »

It worked. Don't know why it didn't the first time. Thanks!
Logged
sorinc03
Newbie
*
Posts: 4


« Reply #5 on: February 23, 2010, 12:12:00 PM »

Off-topic: will you sell DVDs with Part 2 and 3 of the LiveLessons? I already have part 1.
Logged
Eddy
Newbie
*
Posts: 7


« Reply #6 on: February 26, 2010, 08:00:27 AM »

When you invoke gdb you need to pass it the command-line argument '-silent' to suppress the greeting message.

gdb -silent

Not sure how to do that automatically in XCode, but as far as gdb itself is concerned that will do the trick.

Eddy
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents (c) 2009 classroomM.com. All rights reserved.