Breakpoint in malloc?
Breakpoint in malloc?
- Subject: Breakpoint in malloc?
- From: Jim Wintermyre <email@hidden>
- Date: Tue, 21 Apr 2009 19:14:09 -0700
I'm trying to diagnose an unexpected memory allocation that is
happening when I don't think there should be any memory allocation
going on. Is there a way to set a breakpoint in whatever the
standard allocator is that's called by malloc and new?
I've tried using MallocDebug in the Mark/Update mode, and it does
show the memory allocations, but for some reason it is showing the
call trace in hex instead of using the symbols. I think this is
because my code is in a shared library (I saw an old post in the
archives where someone else had the same problem with a shared
library). Getting the stack trace out of the raw hex is kind of a
pain. So any suggestions on getting that to work are also
appreciated (my debug symbols are definitely present; they show up in
Shark and other performance tools).
Thanks,
Jim
_______________________________________________
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