【发布时间】:2011-08-03 08:47:14
【问题描述】:
我是Xcode4的新手,如何在Xcode4中设置malloc_error_break。
malloc: *** error for object 0x686a240: double free
*** set a breakpoint in malloc_error_break to debug
【问题讨论】:
我是Xcode4的新手,如何在Xcode4中设置malloc_error_break。
malloc: *** error for object 0x686a240: double free
*** set a breakpoint in malloc_error_break to debug
【问题讨论】:
如果在 Xcode 4 中,转到断点导航器
查看/导航器/显示断点导航器
在底部,通过单击“+”加号添加新断点并选择
添加符号断点
你会命名它.... “malloc_error_break”
【讨论】:
在 Xcode 4.5.2 中(从菜单栏):
产品、调试、创建符号断点
【讨论】: