• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Off By One
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Off By One
      • From: "Michael Crawford" <email@hidden>
References: 
 >Off By One (From: Charlie Dickman <email@hidden>)

  • Prev by Date: Off By One
  • Next by Date: Re: Off By One
  • Previous by thread: Off By One
  • Next by thread: Re: Off By One
  • Index(es):
    • Date
    • Thread