当我们在开发xcode程序时,往往要用到xcode调试,但由于不小心修改了一些配置信息,而导致在调试时不能追踪到具体的代码区,以下就是个人的解决办法
1,首先要进入调试模式
设置断点,点击运行
或者
- (IBAction)clickedButton:(id)sender UIButton *button = (UIButton *)sender; UITableViewCell *cell = (UITableViewCell *)button.superview; UITableView *tableView = (UITableView *)cell.superview; NSIndexPath *indexPath = [tableView indexPathForCell:cell]; }

2.点击菜单product->Debug workflow取消选中show Disassembly when debug

3,以上操作完成以后就会出现以下结果