use*_*859 11 iphone debugging xcode breakpoints xcode4
自升级到xCode 4以来,我的应用程序停在我认为不存在的断点处.当它断开时,没有断点显示,编辑说"线程:1停在断点17".在Breakpoint导航器中查看,在任何地方都没有断点17,并且它所停留的线路未在任何地方列出.
其他人看到这个?这可能是新的吗?
约翰
flu*_*uke 25
也许这是一个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
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
10434 次 |
| 最近记录: |