malloc_error_break它是如何工作的

时间:2015-02-19 16:16:41

标签: objective-c xcode memory compiler-errors xcode5

我收到了这样的错误:malloc: *** error for object 0x10ec5750: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Project(4017,0xb0115000) malloc: *** error for object 0x1179fe90: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug。我读到我应该使用malloc_error_break。我遵循Breakpoint Navigator - > (加在底部)添加一个新的断点 - >添加符号断点。然后我填写表单。Symbol: malloc_error_break Module: libSystem.B.dylib运行项目,我得到相同的错误。也许我设置malloc_error_break不正确?它应该如何看似正确?这个怎么运作?感谢。

0 个答案:

没有答案