Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLog not working in one project



Well I found the problem. One stupid semicolon in the init routine

self = [super init];
if (self == nil); <- this semicolon was the problem
return nil;

Doh!

Ken


On May 7, 2006, at 8:11 PM, Ken Tozier wrote:

HI

This is a weird one...

I've been using NSLog for years now and all of a sudden, it doesn't work in a new project. The debugger isn't running, the app launches and doesn't crash but not one NSLog prints to the run log. They do print to the console but the long data is truncated whereas it's not in the run log. Anyone know if there is an XCode setting I might have hit inadvertently that could be causing this?

Thanks

Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/kentozier% 40comcast.net


This email sent to 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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >NSLog not working in one project (From: Ken Tozier <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.