Re: Off By One
Re: Off By One
- Subject: Re: Off By One
- From: Joan Lluch (casa) <email@hidden>
- Date: Fri, 4 Jul 2008 11:19:35 +0200
El 04/07/2008, a las 10:11, Herman Keuchel escribió:
I set breakpoints in the debugger but when the breakpoint is hit
during execution the program is actually stopped at the line
following where the breakpoint is set with the breakpointed line
already executed.
This seems to occur periodically for no reason that I can discern,
hangs around for a while and then goes away. My suspicion is that
it has something to do with an artifact of the source code but I
can't figure out just what.
I saw something of the kind happen when the source code contains a
mixture of line endings (CRLF, CR and LF).
Yes, this is the probable cause. In versions prior to Xcode 3.0 (not
sure about 3.0) this also affected location of compilation errors in
the source code. Check if this also happens and if so change the Text
Editing settings for existing files to Unix (LF) endings and reopen
the file.
Joan Lluch
_______________________________________________
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