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

Crash when edit category name with code completion on


  • Subject: Crash when edit category name with code completion on
  • From: Bill Cheeseman <email@hidden>
  • Date: Sun, 12 Apr 2009 12:08:52 -0400

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?


--

Bill Cheeseman
email@hidden

_______________________________________________
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: Crash when edit category name with code completion on
      • From: Chris Espinosa <email@hidden>
    • Re: Crash when edit category name with code completion on
      • From: Klaus Backert <email@hidden>
  • Prev by Date: SQL DB connection in X-Code
  • Next by Date: Re: CVS on Leopard
  • Previous by thread: Re: SQL DB connection in X-Code
  • Next by thread: Re: Crash when edit category name with code completion on
  • Index(es):
    • Date
    • Thread