Kun*_*nal 4 breakpoints ios6 xcode4.6
我收到以下错误:
malloc: *** error for object 0xa68aca0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Run Code Online (Sandbox Code Playgroud)
我已经设置了Symbolic Breakpoint,但是没有任何事情发生在控制台中,没有在控制台中得到任何暗示.
我在用 xcode 4.6
任何帮助赞赏.
您可能会释放该对象太多次.
按Cmd + Shift + R打开调试器控制台.然后键入以下内容
break malloc_error_break
Run Code Online (Sandbox Code Playgroud)
这将在开头设置断点malloc_error_break,您也可以尝试打印出0xa68aca0处的对象
print-object 0x1068310
其他方法是使用NSZombieEnabled
| 归档时间: |
|
| 查看次数: |
21857 次 |
| 最近记录: |