• 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: "Leaks" utility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Leaks" utility


  • Subject: Re: "Leaks" utility
  • From: Ryan Joseph <email@hidden>
  • Date: Sat, 13 Jun 2009 12:40:37 +0700


On Jun 13, 2009, at 12:26 PM, Greg Parker wrote:

Can anyone who uses this utility tell me how to set the this environment variable? I'm thinking it's possible this must be set via GDB, otherwise I'm not sure where it could get a stack trace from. Thank you for helping.

Environment variables can be set in your shell; the syntax depends on which shell you use. You can also set environment variables when you launch the app inside gdb:


   (gdb) set env MallocStackLogging 1
   (gdb) run


This is what I was looking for, thanks!

For more information about malloc stack logging, read this:
   Mac OS X Debugging Magic
   http://developer.apple.com/technotes/tn2004/tn2124.html

Regards, Josef

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >"Leaks" utility (From: Ryan Joseph <email@hidden>)
 >Re: "Leaks" utility (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: "Leaks" utility
  • Next by Date: searching a string in big file
  • Previous by thread: Re: "Leaks" utility
  • Next by thread: Re: "Leaks" utility
  • Index(es):
    • Date
    • Thread