Here the output of debugger:
(gdb)
<-gdb-set confirm off>
^done
(gdb)
<-gdb-set new-console off>
^error,msg="No symbol table is loaded. Use the \"file\" command."
(gdb)
<-gdb-version>
~"GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 UTC 2007)\n"
~"Copyright 2004 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you are\nwelcome to change it and/or distribute copies of it under certain conditions.\nType \"show copying\" to see the conditions.\nThere is absolutely no warranty for GDB. Type \"show warranty\" for details.\n"
~"This GDB was configured as \"i386-apple-darwin\"."
^done,version="6.3.50-20050815 (Apple version gdb-768)",rc_version="768",target="i386-apple-darwin",build-date="Tue Oct 2 04:07:49 UTC 2007"
(gdb)
<-gdb-set env Apple_PubSub_Socket_Render=/tmp/launch-q8i8Dm/Render>
^done
(gdb)
<-gdb-set env COMMAND_MODE=legacy>
^done
(gdb)
<-gdb-set env DISPLAY=/tmp/launch-5CpLCJ/:0>
^done
(gdb)
<-gdb-set env HOME=/Users/redred>
^done
(gdb)
<-gdb-set env LOGNAME=redred>
^done
(gdb)
<-gdb-set env PATH=/usr/bin:/bin:/usr/sbin:/sbin>
^done
(gdb)
<-gdb-set env SECURITYSESSIONID=4137a0>
^done
(gdb)
<-gdb-set env SHELL=/bin/bash>
^done
(gdb)
<-gdb-set env SSH_AUTH_SOCK=/tmp/launch-mpkWtr/Listeners>
^done
(gdb)
<-gdb-set env TMPDIR=/var/folders/TN/TN0cRrYhG-8WwqrheEcd9k+++TI/-Tmp-/>
^done
(gdb)
<-gdb-set env USER=redred>
^done
(gdb)
<-gdb-set env __CF_USER_TEXT_ENCODING=0x1F5:0:0>
^done
(gdb)
<-file-exec-and-symbols "/Developer/Projects/test-DB01/project1.app">