Re: Off By One
Re: Off By One
- Subject: Re: Off By One
- From: Steve Checkoway <email@hidden>
- Date: Thu, 3 Jul 2008 22:24:52 -0700
On Jul 3, 2008, at 8:20 PM, Charlie Dickman wrote:
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.
Most likely the source line doesn't actually correspond to an
instruction. I encountered this with labels in a switch statement, iirc.
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.
Hopefully, you don't mean sometime a particular breakpoint stops at
the right line and other times not! Nondeterministic debugging sounds
even worse than debugging nondeterministic code.
--
Steve Checkoway
"Anyone who says that the solution is to educate the users
hasn't ever met an actual user." -- Bruce Schneier
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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
References: | |
| >Off By One (From: Charlie Dickman <email@hidden>) |