Re: Running without the debugger
Re: Running without the debugger
- Subject: Re: Running without the debugger
- From: Roland King <email@hidden>
- Date: Thu, 3 Jun 2010 22:53:58 +0800
Mine never do that - they just start.
There are a few options on the 'executable', one of which is "start executable after starting debugger", is that checked?
On 03-Jun-2010, at 10:50 PM, Ben Haller wrote:
> On 3-Jun-10, at 10:40 AM, Matt Neuburg wrote:
>
>> On or about 6/3/10 2:27 AM, thus spake "Ben Haller"
>> <email@hidden>:
>>
>>> wanting to launch without having to tell gdb to run; at present, it
>>> seems I need to open the console window and type "r <return>", which
>>> is an extra step
>>
>> No wonder you're mad! I would be too. I've never heard of that happening, so
>> I'm afraid I can't guess what the problem is. I generally find launching
>> quite fast, and I've never had to type anything in the console to help it
>> along; in fact, I often set my Xcode preferences so that I don't even *see*
>> the console. m.
>
> Hmm, interesting. I thought this was standard behavior; I think it's giving me a chance to set breakpoints before my program starts running, or something. Here's what my sessions always look like:
>
> [Session started at 2010-06-03 16:46:18 +0200.]
> GNU gdb 6.3.50-20050815 (Apple version gdb-1346) (Fri Sep 18 20:40:51 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/ttys002
> Loading program into debugger…
> Program loaded.
> (gdb) bt
> No stack.
> (gdb) r
> Starting program: /Users/bhaller/objects/Debug/Antikythera.app/Contents/MacOS/Antikythera
> Not executing.
> (gdb) run
> [Switching to process 7107]
> Running…
>
> So I guess the new question is: why does gdb do this to me, but not to others?
>
> Ben Haller
> McGill University
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden