Subject: Re: XCode problem: debugger doesn't stop on breakpoint
Subject: Re: XCode problem: debugger doesn't stop on breakpoint
- Subject: Subject: Re: XCode problem: debugger doesn't stop on breakpoint
- From: "Ian G. Gillespie" <email@hidden>
- Date: Thu, 6 Nov 2003 17:54:59 -0800
Also make sure that you have the optimization set to
"Development"...maybe that will help.
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)
_______________________________________________
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.