Re: breakpoint in szone_error
Re: breakpoint in szone_error
- Subject: Re: breakpoint in szone_error
- From: Chris Espinosa <email@hidden>
- Date: Thu, 9 Feb 2006 09:45:39 -0800
On Feb 9, 2006, at 9:25 AM, Ruotger Skupin wrote: have you tried "b szone_error" in the debugger console?
Am 09.02.2006 um 17:37 schrieb Stefan Werner:
Hi,
when running my application, I see messages like this in the output: malloc: *** error for object 0x21653490: double free malloc: *** set a breakpoint in szone_error to debug
However, Xcode won't let me set a breakpoint in szone_error - when I try to set it with Debug/Add Symbolic Breakpoint, the gdb console returns Function "szone_error" not defined.
szone_error is only in the Debug variant of Libsystem. See "Using Debug Variants of System Libraries":
Yes, we know it's bad for the non-debug variant of malloc to spew an error message asking you to do the impossible, and there's a bug written about that.
Chris |
_______________________________________________
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