iphone Xcode 3.1.4 3.1.2 SDK, watchpoints don't work?

泪湿孤枕 提交于 2019-12-04 05:11:38

Unfortunately this is a known bug in OS 3.1.2. There's rumour of a new 3.1.3 build around the corner, but I don't know if that will fix this problem.

I realize this is a very old post however I just got this same error message trying to set a watchpoint with XCode V4.3.2 (4E2002) running on OS X 10.7.3 Lion. I found the following link which explained that the message "can't clear hardware watchpoints without the 'Z2' (write-watchpoint) packet " indicates that the target machine doesn't have the needed hardware support. For me what this meant was that I needed to run under the iPhone Simulator instead of directly on iPhone 4. Also be aware that the latest version of XCode 4.3.2 defaults to (LLDB) debugger which in the XCode version does not support setting watchpoints. You must set debugger to GDB in menu Product:Edit Scheme. In the scheme edit dialog set the Debugger field pulldown to GDB.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!