Re: NSLog
Re: NSLog
- Subject: Re: NSLog
- From: David P Henderson <email@hidden>
- Date: Fri, 15 Jun 2001 23:58:05 -0400
On Friday, June 15, 2001, at 05:43 , Michael Dagate wrote:
Has anyone else noticed that NSLog doesn't output anything during a
dealloc method? This should work, right? Am I missing something here?
It works as long as dealloc is called for an object which means that if
you aren't seeing it your object is being released properly.
Also, I built both Development and Deployment builds (I clicked these
individually in the Targets/Build Styles list in PB, then did a Clean
and Build), but they look the same to me (same size, debug output,
etc.) Basically, I'm wondering if NSLog gets compiled-out of deployment
builds or if there is a macro somewhere I should be using for this.
Generally, I don't like shipping apps that output debug messages.
What you want to do is "install" which you cannot currently do from
within Project Builder. You need to use the pbxbuild tool from the
command line. See the Project Builder Help and various release notes for
more info on building and installing apps with PB.
Dave
--
Chaos Assembly Werks
"The Trend over the last 20 years or so has been to design computer
languages that enforce a state of paranoia. You're expected to program
every module as if it were in a state of siege In Perl culture, by
contrast, you're expected to stay out of someone's home because you
weren't invited in, not because there are bars on the windows."
from Programming Perl
References: | |
| >NSLog (From: Michael Dagate <email@hidden>) |