问题
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
回答1:
Reference the documentation here
It looks like you can set a breakpoint in a particular file and line by using
(lldb) breakpoint set --file test.c --line 12
来源:https://stackoverflow.com/questions/47555329/set-breakpoint-on-specific-line-using-lldb