Re: xcode doesn't stop on breakpoints
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