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

Re: XCode problem: debugger doesn't stop on breakpoint


  • Subject: Re: XCode problem: debugger doesn't stop on breakpoint
  • From: Alastair Houghton <email@hidden>
  • Date: Thu, 6 Nov 2003 23:40:00 +0000

On 6 Nov 2003, at 20:29, Jesus De Meyer wrote:

I dunno what I'm doing wrong but the debugger doesn't stop on some breakpoints I've set.
I have checked both the <appname> and Target inspector and both have debugging symbols on.

Any idea how I can solve this?

1. Make certain that the program will run through those code paths (I know, it's obvious, but we've all done it [well I know I have ;->]).

2. Make sure optimisation is disabled (i.e. you're building using the Development build style).

3. Try moving the breakpoint to a nearby line and see if it fires.

4. Try inserting extra code (e.g. an NSLog()) and place your breakpoint on that.

5. Try disassembling the code in question and placing the breakpoint on a specific instruction.

(Not necessarily in that order)

Kind regards,

Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >XCode problem: debugger doesn't stop on breakpoint (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: Praise for the many AppKit enhancements
  • Next by Date: Re: contentSizeForFrameSize and frameSizeForContentSize for NSTabView and NSWindow?
  • Previous by thread: Re: XCode problem: debugger doesn't stop on breakpoint
  • Next by thread: RE: XCode problem: debugger doesn't stop on breakpoint
  • Index(es):
    • Date
    • Thread