• 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: xcode doesn't stop on breakpoints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode doesn't stop on breakpoints


  • Subject: Re: xcode doesn't stop on breakpoints
  • From: "Irfan Mulic" <email@hidden>
  • Date: Wed, 28 Oct 2009 16:58:37 -0700

Thanks Jens,

It is Debug configuration, I have a break point on NSLog(@"Hello World") which is right after initializaiton of autorelease pool.

Even if I put any simple assignment before it doesn't stop on it... What else should I check, does anybody else has the similar issue?
Should I reinstall Xcode or do some clean up?


Thanks.

On Wed, 28 Oct 2009 16:36:31 -0700, Jens Alfke <email@hidden> wrote:


On Oct 28, 2009, at 12:50 PM, Irfan Mulic wrote:

and click in gutter on a line in main function, bookmark is blue, then I run Build and Debug
debugger console opens says gdb starting etc... execute the program exit and it didn't stop on the break point, even tough they were enabled and active ???

Make sure you're in the Debug configuration, not Release. GDB has a hard time with optimized code and may fail to hit breakpoints.


Are you sure the line you put the breakpoint in is being reached? Maybe the function returns or crashes before it gets there. Try putting a breakpoint on the first line of main().

—Jens


--
Irfan Mulic
_______________________________________________
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: xcode doesn't stop on breakpoints
      • From: Chris Espinosa <email@hidden>
References: 
 >xcode doesn't stop on breakpoints (From: Irfan Mulic <email@hidden>)
 >Re: xcode doesn't stop on breakpoints (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Project templates & encoding
  • Next by Date: Re: xcode doesn't stop on breakpoints
  • Previous by thread: Re: xcode doesn't stop on breakpoints
  • Next by thread: Re: xcode doesn't stop on breakpoints
  • Index(es):
    • Date
    • Thread