Xcode:断点停止工作

标签 xcode breakpoints

我有一个静态库和一个链接到它的 Mac 应用程序。调试版本使用 DWARF 作为调试信息。我一直在使用静态 lib 项目附加到 Xcode4.2 下的应用程序,并且断点正在工作。

最近我升级到了Xcode4.4,我不否认可能还有其他我不知道的环境变化。现在我无法再命中断点了。

我重建了我的库,并根据该库重建了我的应用程序。

如有任何提示,我们将不胜感激。

最佳答案

我自己来回答:

根据 Xcode 邮件列表上的 Apple 工程师的说法。这是一个 Xcode 错误,我很快就会提交错误。

目前有一个解决方法,引用 Apple 工程师的话:

I think we were still using gdb in Xcode 4.2. So in Xcode 4.4, you can workaround it by switching from lldb back to gdb in the Scheme Editor. If this workaround works, you have to file a bug because we are going to deprecate gdb soon.

关于Xcode:断点停止工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12496400/

相关文章:

angular - 如何使用带有自定义断点的 Angular Flex ngClass?

c# - 可能获得堆栈跟踪以查看特定断点的 'led up to' 是什么?

android - 改造不会在断点处停止

xcode - XCode 7.3 Beta-如何强制严格搜索Objective-C的代码自动完成功能?

ios - Xcode 7 : show same console log for release build as development build?

iphone - 在我的步行/运行应用程序中发现错误的距离和路线

c++ - 仅针对未捕获的 C++ 异常的 gdb 捕获点?

java - 寻找虚无的东西

swift - 如何使用 Swift 切换 mac 应用程序开发的侧边栏容器?

ios - 如何从 Cordova 的 config.xml 配置 XCode 和客户端选项