如何在Xcode4中设置malloc_error_break [英] How to set malloc_error_break in Xcode4

查看:132
本文介绍了如何在Xcode4中设置malloc_error_break的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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


推荐答案

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

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

您将其命名为.... malloc_error_break

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

这篇关于如何在Xcode4中设置malloc_error_break的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆