如何在Xcode4中设置malloc_error_break

Cha*_* SP 10 iphone xcode4

我是Xcode4的新手,如何在Xcode4中设置malloc_error_break.

malloc: *** error for object 0x686a240: double free
*** set a breakpoint in malloc_error_break to debug
Run Code Online (Sandbox Code Playgroud)

dle*_*win 14

如果在Xcode 4中,请转到断点导航器

查看/导航器/显示断点导航器

在底部,通过单击"+"加号添加新的断点并选择

添加符号断点

你会说它的名字.... "malloc_error_break"