Re: Debugger confused about line numbers
Re: Debugger confused about line numbers
- Subject: Re: Debugger confused about line numbers
- From: Hugh Sontag <email@hidden>
- Date: Sat, 19 Mar 2005 10:57:33 -0600
I see this on a regular basis. It's my nomination for the highest
priority bug fix in XCode.
My projects are all straight C. Most often, I see the arrow and the
red-highlighted appear on a line that's line 1 or 2 lines above the
line that the debugger is actually on.
I keep hoping that this dyslexia will be fixed, but it continues to
be a problem. I've seen this behavior since Project Builder, and I'm
now using XCode 1.5.
I have a bunch of projects, some large, and mostly the XCode
debugger works as desired. However, in just a couple of my source
files, the debugger gets extremely confused about line numbers. This
manifests itself on one of two ways:
1. Setting a breakpoint anywhere in a function, the debugger breaks
at the beginning of the function; clicking either the Step Over
button or the Step Into button acts exactly as though I'd clicked
Continue
2. Sometimes you can step OK, but you break many lines (sometimes
dozens) above where you set the breakpoint.
I've verified that the project style is to generate debug symbols
and no optimization (-O0); I've done a Clean All; I've trashed the
build directory; I've trashed the <user>.mode1 file. Nothing helps.
For these source files, I've just resigned myself to debugging with
lots of NSLog calls. Yuck!
For what it's worth, this is all Objective-C. No C++, no Java, no
Objective-C++, not even much straight C. The files in question are
.m files.
Anyone else run into this? Anyone at Apple able to offer a glimmer of hope?
_______________________________________________
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
_______________________________________________
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