【发布时间】:2011-06-26 01:28:54
【问题描述】:
我发现 malloc_history 在 iOS 模拟器上测试时很有用,是否可以为物理设备(iPhone 4)配置它。
在控制台上,我确实收到了与此类似的消息
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
我需要在某个地方设置这个文件吗?
在终端我得到了这个
malloc_history cannot examine process xxxx because the process does not exist.
将不胜感激任何直接的建议/指向文档的指针。
谢谢
【问题讨论】:
-
运气好吗?我最近也遇到了同样的问题。
-
在这里回答:stackoverflow.com/questions/7741985/…。看起来你不能在设备上调试时使用 malloc_history,只能使用模拟器。
标签: iphone debugging console terminal