• 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
XCode's debugger won't stop at any breakpoint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode's debugger won't stop at any breakpoint


  • Subject: XCode's debugger won't stop at any breakpoint
  • From: Gabriel Zachmann <email@hidden>
  • Date: Wed, 9 Sep 2009 23:13:38 +0200

I suppose this is a FAQ and this mailing list is not quite the right place to ask, but XCode's debugger is driving me crazy.

It happens to me quite often, that it just won't stop at any breakpoint I set!
Neither on a function breakpoint nor on a line breakpoint.


When I click in the gutter next to a line of function, I get the blue "tag" (or whatever it's called).
I also see the breakpoint in the Breakpoints window, and it is ticked on.


But as soon as gdb is running, the blue tag turns yellow, and all breakpoints in the Breakpoints window turn gray.

In the project info under "Build", the configuration is set to "Active (Debug)".
"Architectures" is set to "Standard (32-bit Universal)",
Base SDK is set to Mac OS X 10.5.
I tried all 3 different settings for "Debug Information Format", i.e., "Stabs", "DWARF", and "DWARF with dSym", to no avail.
C/C++ compiler version is set the GCC 4.0 (the default, I think).
"Strip Debug Symbols During Copy" is off,
"Strip Linked Product" is off.
"Generate Debug Symbols" (under GCC4.0 - Code Generation) is on,
"Optimization Level" is set to -O0.


Any other settings I should check?

Also, the crazy thing is that just an hour ago, setting breakpoints and debugging worked just fine.
And I can assert that I have not changed anything in the project settings! I have just continued developing a bit.


I have googled quite a bit already, but I only found the advice to check the build options.

Any hints, pointers, or suggestions will be greatly appreciated.

Best regards,
Gabriel.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: XCode's debugger won't stop at any breakpoint
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: How to set the media box for a CGPDFPageRef?
  • Next by Date: Re: XCode's debugger won't stop at any breakpoint
  • Previous by thread: Snow Leopard turns CMYK jpegs green
  • Next by thread: Re: XCode's debugger won't stop at any breakpoint
  • Index(es):
    • Date
    • Thread