• 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: How to find the memory smasher (Was: How to break on a variable change in XCode debugging)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find the memory smasher (Was: How to break on a variable change in XCode debugging)


  • Subject: Re: How to find the memory smasher (Was: How to break on a variable change in XCode debugging)
  • From: Lance Saleme <email@hidden>
  • Date: Mon, 20 Dec 2004 19:12:26 -0800

You might want to look into Electric Fence for catching the offending code on the exact instruction it smashes a buffer.

I wish I could add more detail to the suggestion, but the engineer on our project that tracked down this tool and incorporated it into our product development isn't around at the moment to fill in the finer points.

The place to start is at the author's free distribution site (see below):

	http://perens.com/FreeSoftware/ElectricFence/

I can only offer the testimonial that this tool caught some rather elusive and extremely damaging memory problems in our 1.5 million line code base that other tools missed.

Good luck,
Lance

On Dec 20, 2004, at 6:22 PM, Mike Lazear wrote:

We are trying to debug a problem in our code where we are clobbering memory. We would like to create a breakpoint that happens when a particular global variable gets changed. In XCode 1.5 I can't figure out how to do this. This is a common feature in most debuggers. Is this possible with XCode?

Thanks,
Mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


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: This email sent to email@hidden
  • Follow-Ups:
    • Re: How to find the memory smasher (Was: How to break on a variable change in XCode debugging)
      • From: Gwynne <email@hidden>
References: 
 >How to break on a variable change in XCode debugging (From: Mike Lazear <email@hidden>)

  • Prev by Date: Re: How to break on a variable change in XCode debugging
  • Next by Date: Re: How to find the memory smasher (Was: How to break on a variable change in XCode debugging)
  • Previous by thread: Re: How to break on a variable change in XCode debugging
  • Next by thread: Re: How to find the memory smasher (Was: How to break on a variable change in XCode debugging)
  • Index(es):
    • Date
    • Thread