![](/img/trans.png)
[英]Xcode LLDB: How do I set a conditional breakpoint based on the this pointer?
[英]How do I set a conditional breakpoint on a specific table row using lldb?
在Xcode中,我想使用lldb在tableView:cellForRowAtIndexPath:
方法中的特定表行請求上斷點:
例如,假設我要在indexPath.row
的第44行上indexPath.row
。 我怎樣才能做到這一點?
在“ Condition
字段中,輸入以下條件:
調試器將在indexPath.row == 44
停止。
請注意,執行此操作的另一種方法是將“ Ignore
字段值設置為44
。 但是,這不能提供條件在特定indexPath
行或節上停止的靈活性。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.