自从升级到 Xcode 4 以来,我的应用程序停止在我认为不存在的断点处。当它中断时,断点导航器中不会显示断点,编辑器会显示:
Thread:1 Stopped at breakpoint 17
还有人看到这个吗?也许这是新事物?
最佳答案
也许这是一个 Xcode 错误,但我仍然有解决方案。
您可以使用 LLDB 查看和操作所有实际断点。
只需在 lldb 窗口中键入以下命令:
(lldb) is the prompt.
(lldb) help -> for help
(lldb) help breakpoint -> for breakpoint subcommand's help
(lldb) breakpoint list -> list all the breakpoints.
(lldb) breakpoint delete -> Delete the specified breakpoint(s). If no breakpoints are
specified, delete them all.
(lldb) breakpoint delete 7.1 -> delete breanpoint 7.1
and, you can use this command to continue the program:
(lldb) c
关于xcode - 调试器停止在 Xcode 4 中不存在的断点处,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5308971/