• 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: Crash when edit category name with code completion on
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash when edit category name with code completion on


  • Subject: Re: Crash when edit category name with code completion on
  • From: Klaus Backert <email@hidden>
  • Date: Sun, 12 Apr 2009 18:34:29 +0200


On 12. Apr 2009, at 18:08, Bill Cheeseman wrote:

I'm trying to edit an Objective C header file that I've been using for a long time, under Xcode 3.1.2. I can't remember if I previously tried to edit this particular file in 3.1.2, but I think not -- the last edit was probably made under 3.1.1 or earlier.

Xcode repeatably crashes every time I click in the name of a category in parentheses in a particular category interface declaration in this file, and also if I move the text insertion caret into the category name from either end using the arrow keys. The error is (Uncaught Exception: *** -[NSCFString substringWithRange:]: Range or index out of bounds". I can click anywhere else in the file, including in other category names, and edit the file without difficulty.

I've tried everything I can think of: Delete a block of text around the offending line and type the text anew from the keyboard (on the theory that there might have been a bad character there). Rebuild the code sense index. Shut down and reboot.

Finally I decided to change my code sense settings in Preferences, by setting Automatically Suggest to Never and Automatically Highlight to Never -- and the problem went away! But when I turn either of those settings back on, to a With Delay setting, the problem reappears.

Is this a known bug in Xcode 3.1.2, or should I really worry that this is a corrupt file?

Same experience here. I ignore this for several months now, without having been confronted with any eval consequences. My workaround is using find and replace.


Klaus

_______________________________________________
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: 
 >Crash when edit category name with code completion on (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: CVS on Leopard
  • Next by Date: Re: SQL DB connection in X-Code
  • Previous by thread: Crash when edit category name with code completion on
  • Next by thread: Re: Crash when edit category name with code completion on
  • Index(es):
    • Date
    • Thread