Re: Stopping in libMallocDebug messages
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