• 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
Unreliable iOS breakpoints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unreliable iOS breakpoints


  • Subject: Unreliable iOS breakpoints
  • From: Tom Seddon <email@hidden>
  • Date: Sat, 08 Sep 2012 19:05:05 +0100

Quite often, when I set a breakpoint in my code in Xcode after having started the program on the device, the breakpoint doesn't trigger. I know the line of code in question is being executed, because (a) I can see the results of it on the screen, and (b) if I stop and restart the program, the breakpoint triggers.

I'm using gdb as the debugger.

This is all a bit vague, but it's just one of those things that happens seemingly without any pattern. So my rather vague question is: has anybody else had this, and found a fix or some root cause? I'd love to know what I can do. Stopping and restarting each time is... frustrating.

--Tom

P.S. I got some gobbledegook from gdb when this happened just now ("Exception name: NSRangeException, reason:-[__NSCFConstantString substringWithRange:]: Range or index out of bounds
Parser (0x4126c3b60)", followed by a dump of the parse buffer), so I opened radar #12261174.
 _______________________________________________
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: Unreliable iOS breakpoints
      • From: David Dunham <email@hidden>
  • Prev by Date: Re: ARC: __weak variable holds x instead of y
  • Next by Date: Re: Unreliable iOS breakpoints
  • Previous by thread: Live Issues and Build Errors disagree
  • Next by thread: Re: Unreliable iOS breakpoints
  • Index(es):
    • Date
    • Thread