Re: Strange problem of first access to variable

2009-01-07 Thread Vera Tkachenko
Sorry for unnecessary noise - problem was caused by release mode specific problem quite uncorrelated to this issue. -- With regards, Vera Tkachenko [v...@tkachenko.kiev.ua] [ICQ#230923300] [web http://vera.org.ua] ___ Cocoa-dev mailing list (C

Re: Strange problem of first access to variable

2009-01-07 Thread Vera Tkachenko
Graham, thanks for the quick reply. I agree that the problem isn't solved correctly by using NSLog - this is just the only method found by me to solve issue. I just thought that symptoms of the problem (need to access variable before it can be used normally) is known. files passed to proces

Re: Strange problem of first access to variable

2009-01-07 Thread Graham Cox
On 7 Jan 2009, at 11:58 pm, Vera Tkachenko wrote: Could you point me where to find the answer - smth with incorrect "files" variable initialization/declaration? Have no idea what's wrong. There's no way to answer this with the information given. Since is passed in to your method, the pr

Strange problem of first access to variable

2009-01-07 Thread Vera Tkachenko
Hello to everyone ) Don't even know how to explain correctly problem I have. I was using "Debug" mode for developing/testing but before release switched to "Release" mode to test it. The problem is that in release mode the following code doesn't work - files "seems" to be null. - (void) p