Re: XCode and GDB - bug ??
Re: XCode and GDB - bug ??
- Subject: Re: XCode and GDB - bug ??
- From: Jim Ingham <email@hidden>
- Date: Wed, 12 May 2004 20:02:32 -0700
Xcode sends args to gdb which are overriding the ones you set. The
correct way to do this in Xcode is to open the executable tab for your
command line tool (turn out the Executables line in the Group tree, and
double-click on the executable for your command line tool.) There's a
place to set the arguments there.
The run printing two times is some arcane detail of how Xcode & the gdb
command line collaborate that you probably don't want to know more
about. But it isn't effecting your case.
Jim
On May 12, 2004, at 6:35 PM, Elvanvr wrote:
Hi there,
I wanted to debug one XCode project. I was just building a command
line tool, so I needed to pass arguments on the command line to the
tool. When i launch the debugging under XCode, and I use setargs under
gdb to do that, it doesn't work - every time i type run after that gdb
seems to behave strangely (it prints "run" two times) and the second
time it effectively "runs" it but without any args given to the
program.
Any idea ? Is it a bug ? Is there a workaround ?
Jean-Nokl
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Jim Ingham
email@hidden
Developer Tools - gdb
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.