• 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: Stopping in libMallocDebug messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stopping in libMallocDebug messages


  • Subject: Re: Stopping in libMallocDebug messages
  • From: Eric Albert <email@hidden>
  • Date: Wed, 3 Jan 2007 13:31:21 -0800

On Jan 3, 2007, at 12:49 PM, Doug Hill wrote:

On Jan 3, 2007, at 2:19 AM, Paul Walmsley wrote:


The problem is I have no idea when these messages happen relative to what line code is executing at this point. It would be great to set breakpoints in the routine that prints the debug messages. Does anyone know what symbols I could set breakpoints on to get the debugger to stop when it prints one of these messages? I've looked through the libMallocDebug library for candidates and none seem to work. I've tried malloc_printf, a printf and a few others.


Can you set a breakpoint in szone_error? This caught a similar problem that I had a while ago.

I run my same tests and the symbol above doesn't seem to get hit. Hmmm....

Try malloc_printf instead. The messages which tell you to break on szone_error today are unfortunately a bit inaccurate.


-Eric

_______________________________________________
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: Stopping in libMallocDebug messages
      • From: Doug Hill <email@hidden>
References: 
 >ld -syslibroot reliability (From: Daniel Jalkut <email@hidden>)
 >Re: ld -syslibroot reliability (From: Eric Albert <email@hidden>)
 >Re: ld -syslibroot reliability (From: Daniel Jalkut <email@hidden>)
 >Stopping in libMallocDebug messages (From: Doug Hill <email@hidden>)
 >Re: Stopping in libMallocDebug messages (From: Paul Walmsley <email@hidden>)
 >Re: Stopping in libMallocDebug messages (From: Doug Hill <email@hidden>)

  • Prev by Date: Re: Stopping in libMallocDebug messages
  • Next by Date: Hiding symbols from other shared libraries linked to your shared library?
  • Previous by thread: Re: Stopping in libMallocDebug messages
  • Next by thread: Re: Stopping in libMallocDebug messages
  • Index(es):
    • Date
    • Thread