Re: set a breakpoint in szone_error to debug
Re: set a breakpoint in szone_error to debug
- Subject: Re: set a breakpoint in szone_error to debug
- From: "Sean McBride" <email@hidden>
- Date: Wed, 12 Oct 2005 12:26:30 -0400
- Organization: Rogue Research
On 2005-10-12 08:55, Jim Ingham said:
>I looks like not all the malloc errors go through szone_error.
>Somebody ought to fix that error message. Anyway, they do all go
>through "malloc_printf". Try breaking there.
Thanks for your reply Jim,
Alas, malloc_printf is also the source of the message:
malloc: MallocCheckHeap: PASSED check at 250001th operation
and if you have MallocCheckHeapEach set to a low number (common practice
trying to narrow down a bug) then breaking on malloc_printf is not
helpful. What is needed is something to break on that is _only_ called
on an error, not harmless informational messages. I thought that's what
szone_error was, but it guess it's not quite.
I filed <rdar://4297613> if you're interested.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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