Re: Using gdb in XCode
Re: Using gdb in XCode
- Subject: Re: Using gdb in XCode
- From: Scott Squires <email@hidden>
- Date: Wed, 15 Feb 2006 17:16:24 -0800
- Thread-topic: Using gdb in XCode
To Debug, go to Targets on list on left in Xcode. Twirl open and select
your target. Click on Get Info button and select Build.
Active configuration should be set to Debug.
View the Code Generation section.
Generate Debug Symbols should be on.
Level of Debug should be set to default or all symbols.
Probably best to have optimization Level set to NONE.
If that doesn't work try adding -g to Other C Flags in Language settings.
Scott
On 2/15/06 4:12 PM, "Thomas Ahn" <email@hidden> wrote:
> I just started using XCode and have problems to debug even the sample
> code provided with XCode. Can anybody explain me which settings I have
> to change to enable debugging. So far, if I try to set a breakpoint by
> clicking on the editor frame, the Add Breakpoint option in the menue
> is disabled and I can not activate it.
>
> I am using OS 10.3.9 and XCode 1.5.
>
> Thomas
>
> _______________________________________________
> 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