How can I setup an LLDB breakpoint firing every 10th time?
问题 To debug the values of high frequency timers or sensors it would be useful to configure a breakpoint that only fires every x times. What's the best way to accomplish this? I tried the "Ignore x times before stopping" option in Xcode but that only works for the first time. Can I reset this counter using an LLDB command? 回答1: You can reset the ignore counter at any time with: (lldb) break modify -i <NEW_VALUE> <BKPT_SPECIFICATION> Note, a breakpoint which doesn't satisfy its "ignore count" is