XCode: Programmatically enable a symbolic breakpoint?
问题 Is there a way to programmatically enable a breakpoint? Normally I'd use a breakpoint condition, but I need to use a symbolic breakpoint. Specifically, something is changing the contentOffset of my UIScrollView between a call to scrollToIndexPath and a call to reloadData . I'd like to enable the symbolic breakpoint only after the call to scrollToIndexPath . 回答1: Jim Ingham's answer works on a x86 system. For an iOS device I was able to use the method described in this answer to