使用LLDB在特定行上设置断点 [英] Set breakpoint on specific line using LLDB
本文介绍了使用LLDB在特定行上设置断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在Xcode的项目的第37行上设置一个断点,并且我想使用LLDB来设置它.我知道可以通过单击装订线来手动设置此断点,但是我想对使用LLDB有更好的了解.我将如何建立下面的陈述?那句话是否朝着正确的方向前进?
I am attempting to set a breakpoint on line 37 of my project in Xcode and I want to set this using LLDB. I know that I can set this breakpoint manually by clicking in the gutter, but I want to gain a better understanding of using LLDB. How would I build off of the statement below? Is that statement even heading in the correct direction?
breakpoint set --file
推荐答案
参考文档您似乎可以使用
(lldb) breakpoint set --file test.c --line 12
这篇关于使用LLDB在特定行上设置断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文