• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Leave NSLog()s in Final Product?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leave NSLog()s in Final Product?


  • Subject: Re: Leave NSLog()s in Final Product?
  • From: Jerry Krinock <email@hidden>
  • Date: Sat, 13 Mar 2004 06:44:21 -0800

I should have mentioned yesterday that this is the same app and same
Powerbook G4 which foils MallocDebug. No one has an answer for this either.
I now have whatever Developer Tools came on the Panther CD, and the XCode
1.1 update so I should be up to date. Are there any environment settings I
should look at?

PROBLEM #1: stdout DOES NOT GO TO CONSOLE IN PANTHER

However, here is what I see in Panther:
in /Library/Logs/Console/<me>/Console.log:
Canon scanner garbage logs
in /var/log/system.log:
lots of system status reports
network connect/disconnect reports
note whenever NSTask in my app reads or writes the crontab

But the NSLogs in my app are never logged in either log. When installed in
a computer running Jaguar, the same app writes is NSLogs to
/var/tmp/console.log, as expected. And of course, I also get NSLogs in
Terminal when launching the app from Terminal.app.

Is there possibly some type of environment variable which must be set to
make NSLogs go to a Console window in Panther?

PROBLEM #2: MALLOCDEBUG UNABLE TO READ MALLOC INFORMATION

After launching MallocDebug, I browse to my application's package and select
it, but when I click "Launch" I get a spinning colored wheel for about a
minute, and then an alert which says: "Read Data. Unable to read malloc
information from (null)".

I'm using MallocDebug 1.5.1 on Panther 10.3.2. The installation seems OK,
because it works OK on another application, Apple's "Calculator".

My app is written using CodeWarrior but it seems other CW users are able to
use MallocDebug.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Leave NSLog()s in Final Product?
      • From: Piers Uso Walter <email@hidden>
References: 
 >Re: Leave NSLog()s in Final Product? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Clicking Dock Icon creates a new window
  • Next by Date: Re: Controlling Insertion Point
  • Previous by thread: Re: Leave NSLog()s in Final Product?
  • Next by thread: Re: Leave NSLog()s in Final Product?
  • Index(es):
    • Date
    • Thread