Re: breakpoint in szone_error
Re: breakpoint in szone_error
- Subject: Re: breakpoint in szone_error
- From: Eric Albert <email@hidden>
- Date: Thu, 9 Feb 2006 10:17:26 -0800
On Feb 9, 2006, at 9:45 AM, Chris Espinosa wrote:
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:
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":
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide/Contents/Resources/en.lproj/06_02_db_set_up_debug/
chapter_39_section_10.html#//apple_ref/doc/uid/TP40002699-
DontLinkElementID_184
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.
For now, though, try putting a breakpoint on malloc_printf. That
usually works.
Hope this helps,
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