Re: Stopping in libMallocDebug messages
Re: Stopping in libMallocDebug messages
- Subject: Re: Stopping in libMallocDebug messages
- From: Doug Hill <email@hidden>
- Date: Thu, 4 Jan 2007 11:06:29 -0800
On Jan 3, 2007, at 1:31 PM, Eric Albert wrote:
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
Albert,
malloc_printf would seem to be the most likely candidate.
Unfortunately (as I mentioned above), that breakpoint doesn't get hit
for the libMallocDebug messages I'm seeing.
Any other ideas are appreciated.
Doug Hill
Oracle Corp.
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