Easily reproducible XCode editor hang
Easily reproducible XCode editor hang
- Subject: Easily reproducible XCode editor hang
- From: Matt Gough <email@hidden>
- Date: Wed, 1 Mar 2006 15:19:35 +0000
[In XCode 2.2]
I just lost half an hours work to this one so I thought I'd share it.
At the bottom of an Obj-c header file I was adding a new class
interface:
I typed in:
@interface SomeClass : NSObject <
and did Save. From then on, it just hung. Although it had actually
saved the .h file, I lost the changes to all the other unsaved files
I had open.
The Shark sample was very simple:
BlockUntilNextEventMatchingListInMode
CFRunLoopRunSpecific
_handleWindowNeedsDisplay
-[PBXLineBrowser drawRect:]
-[PBXSourceScanner parseString:]
objc_msgSend_rtp
objc_assign_ivar_rtp
Unfortunately, once saved, you need to delete the trailing '<' in
another text editor before trying to open the file again with XCode
as you will just hang again otherwise.
This is easy to reproduce, just open up the CircleView AppKit example
and add the the unfinished @interface line to the bottom of
CircleView.h (and save).
If this isn't a known issue then let me know and I'll submit it to
radar.
Matt Gough
_______________________________________________
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