Re: XCode problem: debugger doesn't stop on breakpoint
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.