How to disable GNU gdb boot text in Xcode

I am new to Xcode 3.1.2 and Objective-C 2.0. I just discovered the use of checkpoints for logging, instead of clogging the code with millions of NSLog () statements. The problem is that when you start the debugger, it displays half the screen with full status and credit information in the console.

Is there any way to suppress this text?

+5
source share
3 answers

The Xcode debugger is a GDB interface. If Xcode allows you to configure the command line to start GDB, use the option "-quiet".

, "" : gdb script, "-quiet".

+4

Mac OS X/usr/bin/gdb script. ,

exec $translate_binary "$gdb" ...

exec $translate_binary "$gdb" -q ...

, , , , . a >

. , Xcode gdb (/Developer/usr/libexec/gdb/gdb-powerpc-apple-darwin ). , Checkers - .

+1

gdb, : , GDB XCode MacOS

- :

#!/bin/sh
echo "Wrapped GDB executed with $@"
gdb -quiet "$@"

/usr/local/bin/mygdb :

defaults write com.apple.Xcode PBXGDBPath /usr/local/bin/mygdb

But the -quiet parameter is ignored in any case on my system 10.6.4 (Xcode 3.2.3, GNU gdb 6.3.50-20050815 (Apple version gdb-1463) (Fri 5 Mar 14:24:01 UTC 2010))

0
source

All Articles