Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 如何检测设备上的双重空闲?_Objective C_Ios_Xcode_Memory Management - Fatal编程技术网

Objective c 如何检测设备上的双重空闲?

Objective c 如何检测设备上的双重空闲?,objective-c,ios,xcode,memory-management,Objective C,Ios,Xcode,Memory Management,我得到以下错误 malloc: * error for object 0x****: pointer being freed was not allocated * set a breakpoint in malloc_error_break to debug 但只在设备上,不在模拟器上。 所以,我无法在设备上为NSZombie配置我的应用程序。有没有办法在不手动调试设备的情况下找到额外的版本?您能展示一些代码吗?如果没有任何代码,很难说出什么。谢谢您的关注,但这个问题不需要代码。我要求的不是

我得到以下错误

malloc: * error for object 0x****: pointer being freed was not allocated * set a breakpoint in malloc_error_break to debug
但只在设备上,不在模拟器上。
所以,我无法在设备上为NSZombie配置我的应用程序。有没有办法在不手动调试设备的情况下找到额外的版本?

您能展示一些代码吗?如果没有任何代码,很难说出什么。谢谢您的关注,但这个问题不需要代码。我要求的不是修复错误,而是检测设备上NSZombie的工具。一年前,我甚至不记得是什么项目导致了这个问题。实际上,你们可以在设备上检测僵尸,但你们不能调试它们。只需编辑您的项目方案:NSZombieEnabled=yes是否可以显示一些代码?如果没有任何代码,很难说出什么。谢谢您的关注,但这个问题不需要代码。我要求的不是修复错误,而是检测设备上NSZombie的工具。一年前,我甚至不记得是什么项目导致了这个问题。实际上,你们可以在设备上检测僵尸,但你们不能调试它们。只需编辑您的项目方案:NSZombieEnabled=YES