NSTextView:setString stalls sometimes...
NSTextView:setString stalls sometimes...
- Subject: NSTextView:setString stalls sometimes...
- From: Luc Vandal <email@hidden>
- Date: Tue, 25 Oct 2005 10:46:39 -0400
Hi!
I have a weird problem with setString. Sometimes the function will
never return. Here's the code:
if( g_sz != NULL )
{
[mainView setString:[NSString stringWithCString:g_sz]];
}
g_sz is a large array containing a book. Normally, the first time I
use setString it will work properly but when I try to use setString
afterwards it will not return. However, if I set a breakpoint at that
line then setString always returns. What could cause this problem?
Luc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden