[Q] Breakpoint problem
[Q] Breakpoint problem
- Subject: [Q] Breakpoint problem
- From: JongAm Park <email@hidden>
- Date: Mon, 21 Mar 2011 09:36:54 -0700
Hello,
Do you use Xcode 3.x?
From some version of Xcode 3.x, it started to show the problem more often.
At that moment, Apple just updated Xcode 3.x. minimally while adding new
SDKs for iOS.
There are lots of problems in the source code editors. (I really hate
this because early version of Xcode 3.x, was very stable and robust in
its features.). The one you mentioned is one, and another annoying was
that when you set a break point, source lines are scrolled up or down
while debugging.
When this happens, I usually remove all breakpoints at least in the
troubled source file, but it is all you did already.
Then try to insert some dummy lines like NSLog( @"blah" ); Then, I found
out that Xcode is confused a little less.
If your problem doesn't disappear still, you should check if you current
build setting is "Release", not "Debug".
I know, I know. It sounds silly. Who will debug "release" build? ( if it
is not debugging with some printf() or NSLog() messages.)
In "Release" mode, compilers do optimization like "instruction
re-ordering", then this also happens. ( This is normal. )
So, just in case ( because I don't have your project file on my hands ),
check that also.
I hope this could be helpful.
JongAm Park
_______________________________________________
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