How to set malloc_error_break in Xcode4

iphone, xcode4

Solution

If in Xcode 4, go to breakpoint navigator

View/Navigators/Show Breakpoint Navigator

at the bottom, add a new breakpoint by clicking on the '+' plus sign and choose

Add Symbolic Breakpoint

that you'll name it.... "malloc_error_break"

Problem

I am new to Xcode4, how to set malloc_error_break in Xcode4. ``` malloc: *** error for object 0x686a240: double free *** set a breakpoint in malloc_error_break to debug ```

Original source