2009-09-14 44 views
1

我最近更新到新版本的XCode,會話開始代碼很長,每次運行程序時都會出現。有什麼辦法可以將它縮小到之前版本中的樣子嗎? (就在第一行)如何從XCode 3.2中刪除會話開始代碼

這裏就是現在說......

[Session started at 2009-09-14 18:49:17 -0400.] 
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3 01:19:56 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 1599] 
Running… 
+0

gdb可執行文件位於Developer/usr/bin/gdb中...有什麼方法可以編輯這個文件嗎? – Josh 2009-09-15 03:52:47

回答

1

我相信這是不可避免的控制檯輸出。這就是說,一旦輸出打印出來,就可以清除控制檯,以便在之後爲您提供「乾淨」的應用程序輸出。請注意,有幾個地方gdb通過控制檯與您通信(例如,breakpoint actions),因此完全沉默它並不是您想要做的事情。

+0

是否有任何理由增加了額外的輸出?我相信它只會在此更新之前打印出第一行。 – Josh 2009-09-15 02:05:38

+0

我的猜測是他們更新了gdb,它的更新包含了這個新的,更詳細的輸出。 – fbrereto 2009-09-15 02:24:23

+0

所以我發現這個http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/gdb.1.html,其中說我可以輸入「安靜」來沉默介紹消息。我在終端打開gdb,試圖進入它,它說這是一個無法識別的命令。有沒有其他方法可以做到這一點? – Josh 2009-09-15 14:44:55