What is wrong with print object po, Objective - C Xcode's LLDB debugger?

江枫思渺然 提交于 2020-12-15 05:42:04

问题


I am trying to debug these lines of codes:

#pragma mark - TableView Delegates
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
    NSLog(@"%i", self.sectionList.count)
    return self.sectionList.count;   
}

But when i write po these to see the value, after little pause nothing happens.. Any idea and how should i approach to this situation ?

(lldb) po self.sectionList.count
(lldb) p self.sectionList.count

来源:https://stackoverflow.com/questions/64575909/what-is-wrong-with-print-object-po-objective-c-xcodes-lldb-debugger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!