• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using gdb in XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Using gdb in XCode
      • From: j o a r <email@hidden>
References: 
 >Using gdb in XCode (From: Thomas Ahn <email@hidden>)

  • Prev by Date: Using gdb in XCode
  • Next by Date: moving the dev tools?
  • Previous by thread: Using gdb in XCode
  • Next by thread: Re: Using gdb in XCode
  • Index(es):
    • Date
    • Thread