Re: xcode doesn't stop on breakpoints
Re: xcode doesn't stop on breakpoints
- Subject: Re: xcode doesn't stop on breakpoints
- From: Jens Alfke <email@hidden>
- Date: Wed, 28 Oct 2009 16:36:31 -0700
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 _______________________________________________
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